air-datepicker
air-datepicker copied to clipboard
todayButton doesn't work as expected
In case of DateTime picker, the time is not updated each time the "Today" Button is clicked.
This is the code:
The current time is set only once. This will work in case of Date but not for Time.
@t1m0n I can see in the latest version of air-datepicker... without time picker enabled i.e. in date picker only mode. The 'Today' button doesn't work at all. Nothing happens with the click of the 'Today' button.
I just passed below pre-installed buttons as
buttons: ['today', 'clear'];
Both buttons got rendered on the date picker. However, when I clicked on the 'Today' button, nothing happened. whereas, the 'Clear' button is working fine.
@soru95 today
button should only perform transition to current date, without selection.