Topic: Select with validation doesn't display the message
I'm encountering a bug, I'm trying to do form validation, I have
select, so I added the following attributes to the select:
In case of error I add the
invalid class to the select, the borders turn red, but the message is not displayed. I looked in the HTML parser of my browser and the tags are added (even
valid-feedback) but they remain in
display: none;. Should I force the display of messages by adding the
d-block class? But this is not very clean.
Yes. Add class d-block. That should be enough.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Pro
- Premium support: No
- Technology: MDB Standard
- MDB Version: 3.2.0
- Device: Any
- Browser: Any
- OS: Any
- Provided sample code: No
- Provided link: No