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
Hello,
Is there any change, the date picker could be always open. When you load the page, it should be open, and when you choose date, it should remain be open?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
To make it always open, you just need to do the following changes:
In DatePickerX.css file, comment out "display:block" line for .date-picker-x class.
In your js file, initialize datepicker with the following codes:
var myDatepickerContainer = document.querySelector('input[id="d1"]');
myDatepickerContainer.DatePickerX.init({
format:"d.m.yyyy"
});
//Show opened at initial load
myDatepickerContainer.click();
//Change selected item style if clicked on day element
Hello,
Is there any change, the date picker could be always open. When you load the page, it should be open, and when you choose date, it should remain be open?
Thanks!
The text was updated successfully, but these errors were encountered: