I'm currently working with Bootstrap 4.0.0.beta and am facing an issue with server-side validation. When adding the .is-invalid
class to inputs that were invalid upon submission, even after the user corrects the error, the class remains, potentially confusing the user. They might believe the input is still invalid when it's not.
What would be the most graceful solution to this problem? I'm considering a blend of client-side validation or setting up a listener for changes on inputs with the .is-invalid
class using JavaScript. This way, whenever the input is filled, the class can be removed.