You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am from Experience Web team in SAP Successfactors.
Describe the bug
In datepicker with minDate and maxDate, if user inputs a date value out of the scope defined by keyboard. The valid flag in event.originalEvent.detail is still true while the valueState of the field is switched to Error.
@ilhan007
The fix you attached above is just fixing the unnecessary error state in empty value case (also it is reported by me).
In this case, if you type the date value out of the scope between minDate and maxDate, the change event should expose the valid value with false instead of true.
Hi colleagues,
I am from Experience Web team in SAP Successfactors.
Describe the bug
In datepicker with minDate and maxDate, if user inputs a date value out of the scope defined by keyboard. The valid flag in
event.originalEvent.detail
is still true while the valueState of the field is switched toError
.ui5-webcomponents/packages/main/src/DatePicker.js
Line 460 in df0add4
To reproduce
Steps to reproduce the behavior:
Expected behavior
The valid flag exposed in the change event should be false in this case.
Context
The text was updated successfully, but these errors were encountered: