What does HTML form validation is applied via CSS’s two pseudo-classes, :invalid and :valid. It applies to <input>, <select>, and <textarea> elements. Bootstrap scopes the :invalid and :valid styles to parent .was-validated class, usually applied to the <
I'm trying to use bootstrap 4 to show validation for fields
I'm having to use a custom class pl-errors to format inputs and selects
However you need to write some javascript to make this work. For example on submit it will check if the field is filled whenever it is required. If not it will give it the :invalid pseudo element.
The best way to implement this is simply copying the the form examples from bootstrap and using that format. I see that you use {!! $input !!} which means the HTML for this comes from somewhere else?
My $input uses the Laravel Collective classes for inputs, I like how you can assign a model to a form and it will automatically fill the form values out for me