Topic: Input fields validation text should hide if control/label is disabled
Currently a text input field's validation text stays (green or red depending on success/error) under the label even when the input is disabled.
I believe the validation text should hide or at the very least, "look" disabled as well, like the rest of the input.
I'm currently doing that myself using this:
label.disabled ~ span.inputVal {
display: none;
}
However, I think your team has a much more elegant solution, and I'm sure other people will have the same issue come up.
Thanks!
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Damian Gemza staff commented 6 years ago
Dear Allantra, Thanks for your report! I'm noticing this, and we'll try to fix it with the future release. Best Regards, Damian