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
Thanks for the repository
In DateTimePicker for the type "date" the minimum date is not getting validated correctly.
The current validation validates the actual date vs the minimum date(timestamp) now due to this additional timestamp comparisson to a date without timestamp. The validations fails to go through and we get an error.
I am currently using the latest v17 extensions library.
mtxDatetimepickerMin
{min: Moment, actual: Moment}
actual
:
Moment {_isAMomentObject: true, _i: '2024-09-12', _f: 'YYYY-MM-DD', _isUTC: false, _pf: {…}, …}
min
:
Moment {_isAMomentObject: true, _i: '2024-09-12T12:53:13.009Z', _f: 'YYYY-MM-DDTHH:mm:ss.SSSSZ', _tzm: 0, _isUTC: false, …}
[[Prototype]]
:
Object
A suggestion would be to do the min and max date validation based on the type of the input selected.
The text was updated successfully, but these errors were encountered:
Thanks for the repository
In DateTimePicker for the type "date" the minimum date is not getting validated correctly.
The current validation validates the actual date vs the minimum date(timestamp) now due to this additional timestamp comparisson to a date without timestamp. The validations fails to go through and we get an error.
I am currently using the latest v17 extensions library.
A suggestion would be to do the min and max date validation based on the type of the input selected.
The text was updated successfully, but these errors were encountered: