Skip to content Skip to sidebar Skip to footer

Set Default Date Air-datepicker

I am using air-datepicker inline. I need to set the start date for it. Here is the script and how I am trying to do it. export function load_datepickers_inline():void { const searc

Solution 1:

As you can read in the documentation, selectDate is a function, so you must use it in this way:

leg_1_datepicker.selectDate(new Date(2018, 3, 11));

Post a Comment for "Set Default Date Air-datepicker"