Topic: Input Placeholders not showing unless clicked premium asked 1 year ago

Expected behavior When placeholder is used on input it should be shown

Actual behavior You have to click on the input and placeholder shows

Resources (screenshots, code snippets etc.) See snippet:

Grzegorz Bujański staff answered 1 year ago

The input label is inactive whenever the input value is empty. And the placeholder is shown only after clicking on the input. If you want to change it, you can add the active class to the input and add this class always on blur. If you do this, the label will always be active.

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 5.0.0
  • Device: PC
  • Browser: Edge, Chrome
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: Yes