Error: Property 'nepaliDatePicker' does not exist on type 'JQuery<HTMLElement>
Closed this issue · 2 comments
Oliverq755 commented
Hey there, thanks for the datepicker,
I tried to implement it in my application, however, its throwing error on Initialize Date Picker
ts file:
$(".date-picker").nepaliDatePicker({
dateFormat: "%D, %M %d, %y",
closeOnDateSelect: true,
minDate: "सोम, जेठ १०, २०७३",
maxDate: "मंगल, जेठ ३२, २०७३"
});
HTML:
<div class="form-group">
<input type="text" value="" name="date" class="date-picker nepalidatepicker">
</div>
Do I need to import anything in my TS file to get rid of this error?
NikeshNiraula commented
Did you solve the issue? I am facing the same error. if yes please comment how.
mesaugat commented
Stale issue, closing.