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

claudio1992 free asked 2 weeks 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.

Thanks!


Arkadiusz Idzikowski staff answered 2 weeks 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.

FREE CONSULTATION

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

Status

Answered

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