Topic: form styling only works with specific input types

Hydrogen free asked 5 years ago


Form styling is only present on a few specific input types, which is not ideal.


Bartłomiej Malanowski staff commented 5 years ago

Could you please expand your thought?


luthersites pro commented 4 years ago

Input type "phone" doesn't style the textbox according to the same style as "text" or "number" or "email". Input type "phone" is standard in HTML 5 and should be styled accordingly.


Marta Wierzbicka staff commented 4 years ago

Hi,

according to w3schools there is no official "phone" input type: https://www.w3schools.com/html/html_form_input_types.asp. You should use the type "tel", there everything looks fine. Please check out my snippet: https://mdbootstrap.com/snippets/jquery/marta-szymanska/1681305.

Best, Marta



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.5.5
  • Device: Desktop - Lenovo
  • Browser: Chrome
  • OS: Windows 10 Enterprise LTSB
  • Provided sample code: No
  • Provided link: No