Topic: MDBValidationItem is removed and MDBInput validation has issues in MDB5
clickstudioltd priority asked 1 year ago
Proper server-side validation.
According to MDB5 React docs, for server-side validation there should be an
MDBValidationItem component to do this, but this component is not in the list of MDB5's exported components which implies that the docs for MDB5 are outdated. I can see that
validation parameters for this purpose, but setting
invalid to true or false always makes the input to render as valid as you can see in the picture below where the description should be invalid. And, there is no
invalidation parameter to set the invalid state text for the field rather there is only a
validation parameter which is used to set the valid state text. Also, the validation string tag that gets inserted under the input field is not accounted as part of the input wrapper tag, therefore it goes under the 'Update Profile' button but I don't have it in this particular picture.
Resources (screenshots, code snippets etc.)
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Priority
- Premium support: Yes
- Technology: MDB React
- MDB Version: MDB5 3.0.0
- Device: PC
- Browser: Mozilla Firefox
- OS: Windows 10
- Provided sample code: Yes
- Provided link: No