Message 1 of 2
Example script Add-In fails in validateInputs handler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When creating a new (default) Add-In, from:
- "Script and Add-Ins" (Shift + S)
- Tab "Add-Ins"
- Click "Create" and select type Python
- Open the freshly generate Add-In example and open the file: "entry.py"
Around line 138 with the command definition "def command_validate_input" we see at line 147 "
inputs.areInputsValid = True"
This is failing. The fix I applied is: "args.areInputsValid = True", then the "OK" button is correctly disabled with an input value below 0.
Please check and correct. Thanks!