Topic: Label and placeholder on html date fields

Espen Rønning priority asked 1 year ago


Expected behavior Label replaces default placeholder on empty dates in Chrome and Firefox

Actual behavior Label and placeholder are shown on top of each other

Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/standard/ererling-sande-no/3070599#html-tab-view

This is working fine if I use input type='text' and .datepicker, but I really need the functionallity of type='date' to set the date value using ISO-format and have the date shown to the user in browsers local format.

The problem seems to be browser related. It works well on Safari in iOS and Chrome on Android, but it does not work on Chrome or Firefox on my Windows 10 Desktop.


Espen Rønning priority answered 1 year ago


Hi again,

Have you had time to take a look at this?


Dawid Wajszczuk staff commented 1 year ago

We have looked at this case, but have not prepared fix yet.


Dawid Wajszczuk staff answered 1 year ago


Hi,

Thanks for reporting this bug. We will investigate this and see if we can fix it.

Keep coding,
Dawid



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • User: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.5.1
  • Device: PC
  • Browser: Google Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes
Tags