Format date change after loss focus


Topic: Format date change after loss focus

Leo asked 4 years ago

Hello,

I don't understand i loss automatically my format date when the field loss the focus. I would like always this format dd/mm/yyyy

When FOCUS When FOCUS

When LOSS FOCUS When LOSS FOCUS


Grzegorz Bujański staff commented 4 years ago

Hi. This has been fixed in the latest version of MDB.


Leo answered 4 years ago

Hello,

Thanks i have other problem. When my form is initialize no init and display the value when the window loaded. My Value display when with my mouse click on the input and focus. Load window Code HTML with value is ok When focus display


Grzegorz Bujański staff commented 4 years ago

Hi. This bug has already been reported to us. We'll fix it.


Leo commented 4 years ago

Thanks Grzegorz. Have you idea of the delay ?


Grzegorz Bujański staff commented 4 years ago

Unfortunately, at the moment we are not able to say when a new version with a fixed bug will come out.


Leo commented 4 years ago

I temporarily found a solution !

I have forcing focus after the value is not empty :$("#date_supplier_order").focus();And on the end of my code add :setTimeout(function(){ $("input[type=date]").blur(); }, 500);


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Open

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.16.0
  • Device: Mac
  • Browser: Chrome
  • OS: Catalina
  • Provided sample code: No
  • Provided link: No
Tags