Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide native datepicker in mozilla firefox

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)")
like image 278
ankita lembhe Avatar asked Jan 05 '18 11:01

ankita lembhe


People also ask

How to change html date format?

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.

How to format input date html?

mm/dd/yyyy.

How to put dob in html?

The <input type="date"> defines a date picker. The resulting value includes the year, month, and day.


Video Answer


1 Answers

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)")
like image 71
ankita lembhe Avatar answered Sep 18 '22 04:09

ankita lembhe