Runtime input
Enter the values that change every run in a dedicated modal.
When it appears
The modal appears when you click Run on any script that has runtime fields — whether from the editor or directly from the script list.
How it works
- The modal opens and loads the latest field definitions
- If Restore last inputs is on, last-used values are filled in
- Complete the required fields
- Click Run to start
- Click Cancel or × to abort
Field types in the modal
| Field type | UI |
|---|---|
| Text | Text input |
| Number | Number input (supports min, max, step) |
| Dropdown | Select |
| Checkbox | Checkbox with an “Enabled” label |
| Date | Date picker |
| File (single) | Text input + Browse button |
| File (multiple) | File list + Add button |
| Folder | Text input + Browse button |
Multi-file selection
Available when a file field has Multiple enabled. Each file appears on its own row with a remove button, and Add file appends new entries.
Validation
Values are validated in real time:
| Rule | Triggered when |
|---|---|
| Required | Field is empty |
| Not a number | Non-numeric input |
| At least X | Below the minimum |
| At most X | Above the maximum |
| Integer only | Decimal input |
| Invalid format | Doesn’t match the pattern |
Errors appear in red beneath the field. The Run button stays disabled until everything clears.
Value persistence
After a successful run, all runtime values are saved inside the app. What happens the next time you open the modal depends on your settings:
- Restore last inputs: ON (default) — fills in last-used values automatically
- OFF — opens blank
Note: Values are saved regardless of this setting — the toggle only controls whether they’re restored in the modal. Change it from the settings drawer.