-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove resetting time value to 00:00 in DateTimeSelector
When invalid value was entered in time part of DateTimeSelector, it got resetted to 00:00. This was problematic as it happened e.g. while the user was typing so it interrupted the user flow. The DateTimeSelector was changed in a way that in set NaN value when either of date or time parts are invalid + it no longer automatically set any other part while the input is still not fully valid - making the user the enter everything and thus behaving more naturally. Allow to clear value in IpaCalendar and DateTimeSelector: Previously it was not possible to undo setting a date. Now when both date and time parts are empty, the value is returned as null or "" (depending on component). Fixes: #373 Signed-off-by: Petr Vobornik <pvoborni@redhat.com>
- Loading branch information
Showing
3 changed files
with
70 additions
and
61 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