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
It will automatically be shown in the textbox hosting the date, even though it has not been set. But if the date is not greater than today, it will then act like it should, and show an empty field by default.
What can I do to always have this behaviour ? It is dangerous to have a date displayed by default because if users do not pay attention, they will save dates that they did not wanted to set in the first place in the db.
Thanks !
The text was updated successfully, but these errors were encountered:
Hi,
Let's say I have a field called "closingDate", and use this code :
$('.closing-date').datetimepicker({
format: 'DD/MM/YYYY',
locale: 'FR',
minDate: '20201231'
})
It will automatically be shown in the textbox hosting the date, even though it has not been set. But if the date is not greater than today, it will then act like it should, and show an empty field by default.
What can I do to always have this behaviour ? It is dangerous to have a date displayed by default because if users do not pay attention, they will save dates that they did not wanted to set in the first place in the db.
Thanks !
The text was updated successfully, but these errors were encountered: