-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Input Range from input is not valid when is not required and not valu…
…e is set (#658) * 🐛 Fix validation of input not required * avoid nested `if-else` * 🐛 Fix validation of input not required and empty * Add conversion value of state value to compare with values from server * Comment * force add options values array in case validate.unique * Simplify checkbox * Fix validation of exlude_value fro this.state.validate.unique general * Change behavior of input unique widget * Set always empty values array in case if not provided by server configuration * Remove from current list of unique values, the old value * Editing add new value. No need to remove initial value. It could be usefull maintain it to remember during changes --------- Co-authored-by: Raruto <[email protected]> (cherry picked from commit 67fc2fe)
- Loading branch information
1 parent
ff64e5d
commit 468c73e
Showing
4 changed files
with
53 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters