Jaxel
Well-known member
Lets say I have a dateinput:
Then in my JS, I am connecting to that date picker as follows:
How can I then change the contents of the data picker, and the options for
Code:
<xf:dateinput name="date" class="date-picker" value="{{ date($xf.time+86400, 'Y-m-d') }}" />
Then in my JS, I am connecting to that date picker as follows:
Code:
$datepicker = this.$target.find('.date-picker');
How can I then change the contents of the data picker, and the options for
minDate
and maxDate
in the JS code?