:zap: Workflow Automation Platform. Orchestrate & Schedule code in any language, run anywhere, 500+ plugins. Alternative to Zapier, Rundeck, Camunda, Airflow...
When setting a default value for TIME or DURATION, the execute interface doesn't recognise them, and refuses to let you override it. If you remove the default values, the UI works as expected. If the TIME and DURATION don't support defaults, it would be helpful to show an error to the user.
Also the duration type gives you a time picker in the UI, rather than a duration option:
This doesn't work:
inputs:
- id: time
type: TIME
defaults: "11:01:01"
- id: duration
type: DURATION
defaults: PT2M
To get it to work, you need to remove the defaults but it's unclear that is the problem (see video):
inputs:
- id: time
type: TIME
- id: duration
type: DURATION
Describe the issue
When setting a default value for
TIME
orDURATION
, the execute interface doesn't recognise them, and refuses to let you override it. If you remove the default values, the UI works as expected. If theTIME
andDURATION
don't support defaults, it would be helpful to show an error to the user.Also the duration type gives you a time picker in the UI, rather than a duration option:
This doesn't work:
To get it to work, you need to remove the defaults but it's unclear that is the problem (see video):
https://github.com/kestra-io/kestra/assets/34094921/d1ee46dc-d6ac-4e7c-9967-1350a7bae99f
Environment