Open Nadirdasti opened 4 years ago
you can use jquery to fill the input. and make sure the format is matching hijriFormat
option
default hijriFormat
is iDD-iMM-iYYYY
see docs for more informaiton
for your kind to clarify how to fill the input using jquery, I can add value attribute to the input but it's still empty.
go around : set value as placeholder :)
same problem $('#mydateinput').val('29-08-1441'); this not make calender select the date and when open it the input go empty
maybe you can only set the Gregorian date with the following format DD-MM-YYYY if you have not changed the default format
I will investigate more for hijri date
hi my problem Solved the problem was hijri format this is work with me fine $('#mydateinput').val('30-11-2020'); $('#mydateinput_hijri').val('1441-08-29');
how to set the date in hijri date in hijri date picker.