In mozilla firefox showing double date pickers, how do hide native datepicker of mozilla firefox.
I have tried following code:
@inputDate(
userForm("office.joining_date"),
'id->"joining_date",
'name->"joining_date",
'class->"span4 datepicker",
'_label->"Joining Date (dd-mm-yyyy)",
'placeholder ->"Enter Joining Date (dd-mm-yyyy)")
4-on the second function you can use any format you want instead of day+" / "+month+" / "+year for example year+" / "+month+" / "+day and in the text input use a placeholder or value as yyyy / mm / dd for the user when the page load.
mm/dd/yyyy.
The <input type="date"> defines a date picker. The resulting value includes the year, month, and day.
Code is worked after changing inputDate to inputText
@inputText(
userForm("office.joining_date"),
'id->"joining_date",
'name->"joining_date",
'class->"span4 datepicker",
'_label->"Joining Date (dd-mm-yyyy)",
'placeholder ->"Enter Joining Date (dd-mm-yyyy)")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With