Skip to content
Snippets Groups Projects
Unverified Commit 8c4c822f authored by Anton Kulyk's avatar Anton Kulyk Committed by GitHub
Browse files

Better handle numeric action parameters with "select" and "radio" types (#29000)

* Don't ignore manually entered parameters on clean

* Validate options for numeric fields with dropdown input

* Clear `valueOptions` when switching field and input types

* Remove sample options for inputs with options

* Rename `getValidationError`

* Bring sample options back

* Minor rename for clarity

* Fix `InputOptionsMap` type

* Keep `inputType` on field type change if possible

* Extract `FieldValueOptions` type

* Use less aggressive value options clean logic

* Simplify tests

* Test value options reset for option-less field types

* Fix `OptionEditor` value gets out of sync
parent 3d58c1e2
No related branches found
No related tags found
No related merge requests found
Showing
with 338 additions and 56 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment