Topic: Issue with the style for mdb-error/success

shellxsoftware free asked 3 years ago


Expected behavior The error message is supposed to appear correctly, not over the next input

Actual behavior https://i.gyazo.com/3f6db1d93b2ac2a9c2eefe246b7b5a5c.png

Resources (screenshots, code snippets etc.) https://i.gyazo.com/2e3b6ab475608e13d2d69cd329436213.png


shellxsoftware free commented 3 years ago

Am i supposed to use mb-5 for each input? that's a workaround but then the form is really big. what's the correct way to do that?


Arkadiusz Idzikowski staff answered 3 years ago


@shellxsoftware This is a correct approach. We don't add margin-bottom there because there are many different ways to use these components (validation messages are not always displayed).

There are five mb- classes (from mb-1 to mb-5), you can also use a custom class on the mdb-form-control component or override its original class (form-outline) globally.



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 1.3.0
  • Device: --
  • Browser: --
  • OS: --
  • Provided sample code: No
  • Provided link: Yes