mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-20 08:08:58 +00:00
fix: enable DynSelect fields in the schedule editor (#9718)
* fix: enable DynSelect fields in the schedule editor Scheduling a script or flow that has a dynselect/dynmultiselect field showed "Dynamic input (dynselect) is not available in this mode, write value directly" instead of the options dropdown. DynamicInput renders the dynamic <Select> only when given a `helperScript` (the script that resolves the options). RunForm passes it; the schedule editor's SchemaForm did not, so the field always fell back to manual entry. Pass `helperScript` from the scheduled runnable (mirroring RunForm) so the options load in the schedule editor too. Addresses #7151 * fix: restore dropped </Tooltip> in retries section Amend the previous commit's transcription drop of the closing Tooltip tag in the retries-handler header snippet. * fix: build the schedule editor's dynselect helper from its runnable path Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Ruben Fiszel <ruben@windmill.dev> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
Ruben Fiszel
parent
52b7625bdf
commit
2ceeff3e9c
@@ -811,6 +811,13 @@
|
||||
showReset
|
||||
onlyMaskPassword
|
||||
disabled={!can_write}
|
||||
helperScript={runnable && script_path && !script_path.startsWith('hub/')
|
||||
? {
|
||||
source: 'deployed',
|
||||
path: script_path,
|
||||
runnable_kind: is_flow ? 'flow' : 'script'
|
||||
}
|
||||
: undefined}
|
||||
schema={$state.snapshot(schema)}
|
||||
bind:isValid
|
||||
bind:args
|
||||
|
||||
Reference in New Issue
Block a user