How to show validation errors in Ionic 4 React

I’ve been looking everywhere and haven’t found how to go about showing different validation errors on form elements (eg IonInput). They have properties like maxLength required minLength etc. but (at least on web) they don’t work and plus they don’t show any errors (where to get the list of errors from anyways?). I could simulate the effect by getting the input value and run it through my own processing and use if else logic and create an error object but really? Do I have to do that myself? This would be pure boilerplate!