-
Notifications
You must be signed in to change notification settings - Fork 391
Date Picker Validation #2183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the report. We'll have a look. However instead of |
LukasBoll
added a commit
to LukasBoll/jsonforms
that referenced
this issue
Oct 27, 2023
Set value to 'undefined' if the text input is empty. If the input is invalid, set the actual value instead of "invalid data" and display the last input instead of an empty field. Closes eclipsesource#2183
LukasBoll
added a commit
to LukasBoll/jsonforms
that referenced
this issue
Oct 27, 2023
Set value to 'undefined' if the text input is empty. If the input is invalid, set the actual value instead of "invalid data" and display the last input instead of an empty field. Closes eclipsesource#2183
LukasBoll
added a commit
to LukasBoll/jsonforms
that referenced
this issue
Oct 31, 2023
Set value to 'undefined' if the text input is empty. If the input is invalid, set the actual value instead of "invalid data" and display the last input instead of an empty field. Closes eclipsesource#2183 (+1 squashed commits) Squashed commits: [bf12c01] fix(material): Improve usability of date renderers Set value to 'undefined' if the text input is empty. If the input is invalid, set the actual value instead of "invalid data" and display the last input instead of an empty field. Closes eclipsesource#2183
LukasBoll
added a commit
to LukasBoll/jsonforms
that referenced
this issue
Nov 6, 2023
Previously, data wasn't cleared when the input field was emptied. This commit will set the value to 'undefined' when the input is empty or invalid upon blurring. During editing, the data is only updated when the current input is valid. Closes eclipsesource#2183
LukasBoll
added a commit
to LukasBoll/jsonforms
that referenced
this issue
Nov 15, 2023
Previously, data wasn't cleared when the input field was emptied. This commit will set the value to 'undefined' when the input is empty or invalid upon blurring. During editing, the data is only updated when the current input is valid. Closes eclipsesource#2183
LukasBoll
added a commit
to LukasBoll/jsonforms
that referenced
this issue
Dec 4, 2023
Previously, data wasn't cleared when the input field was emptied. This commit will set the value to 'undefined' when the input is empty or invalid upon blurring. During editing, the data is only updated when the current input is valid. Closes eclipsesource#2183
LukasBoll
added a commit
to LukasBoll/jsonforms
that referenced
this issue
Dec 20, 2023
Previously, data wasn't cleared when the input field was emptied. This commit will set the value to 'undefined' when the input is empty or invalid upon blurring. During editing, the data is only updated when the current input is valid. Closes eclipsesource#2183
LukasBoll
added a commit
to LukasBoll/jsonforms
that referenced
this issue
Dec 20, 2023
Previously, data wasn't cleared when the input field was emptied. This commit will set the value to 'undefined' when the input is empty or invalid upon blurring. During editing, the data is only updated when the current input is valid. Closes eclipsesource#2183
LukasBoll
added a commit
to LukasBoll/jsonforms
that referenced
this issue
Dec 20, 2023
Previously, data wasn't cleared when the input field was emptied. This commit will set the value to 'undefined' when the input is empty or invalid upon blurring. During editing, the data is only updated when the current input is valid. Closes eclipsesource#2183
LukasBoll
added a commit
to LukasBoll/jsonforms
that referenced
this issue
Jan 9, 2024
Previously, data wasn't cleared when the input field was emptied. This commit will set the value to 'undefined' when the input is empty or invalid upon blurring. During editing, the data is only updated when the current input is valid. Closes eclipsesource#2183
sdirix
pushed a commit
that referenced
this issue
Jan 22, 2024
Previously, data wasn't cleared when the input field was emptied. This commit will set the value to 'undefined' when the input is empty or invalid upon blurring. During editing, the data is only updated when the current input is valid. Closes #2183
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When you delete (using the backspace button) an invalid date (whether by the default date format or additional errors such as min or max date), even if the field is not required the invalid date error persists.
Expected behavior
When you delete (using the backspace button) an invalid date (whether by the default date format or additional errors such as min or max date), if the field is not required there is no error showing and the data should be undefined for that input.
Steps to reproduce the issue
Screenshots
Screen Recording 2023-10-05 at 12.21.09 PM.mov
In which browser are you experiencing the issue?
Google Chrome Version 117.0.5938.92
Which Version of JSON Forms are you using?
v3.0.0
Framework
React
RendererSet
Material
Additional context
No response
The text was updated successfully, but these errors were encountered: