Topic: Why is there a difference between input and input in group on the tag that declares them?

claudio1992 free asked 1 month ago

I'm using MDBAngular and in the documentation there are inputs and input groups. The documentation on inputs tells you to use the and the property mdbInput inside the tag of the input you are using, while the input in input group is just a regular input with a class "form-control".

Why is there that difference, and what does it affect on the result in compilation? I want it to be as fully as possible into the framework to use it's capabilities.


Arkadiusz Idzikowski staff answered 1 month ago

Such a difference is caused by the fact that in the normal inputs we need to use some JS code to handle active/inactive state (label position and border gap styles).

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: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: MDB5 6.1.0
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No