form styling only works with specific input types


Topic: form styling only works with specific input types

Hydrogen asked 6 years ago

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


Bartłomiej Malanowski staff pro premium commented 6 years ago

Could you please expand your thought?


luthersites pro commented 5 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 Szymanska staff pro premium commented 5 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

Open

Specification of the issue
  • User: 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