Hey, Thanks for the so good and simple library. Contributing the same ....
If you want to report the event when the new date is picked in the input box . Add these two lines in "jsCalendar.datepicker.js"
at line 343
const event = new Event('change', { bubbles: true });
this._target.dispatchEvent(event);
and will throw the 'change' event whenever the new date is picked
and then the input box change can be listened.
Happy coding..
Thanks
Hey, Thanks for the so good and simple library. Contributing the same ....
If you want to report the event when the new date is picked in the input box . Add these two lines in "jsCalendar.datepicker.js"
at line 343
const event = new Event('change', { bubbles: true });
this._target.dispatchEvent(event);
and will throw the 'change' event whenever the new date is picked
and then the input box change can be listened.
Happy coding..
Thanks