I need to make the following input so it accepts only numbers:
<ion-input formControlName="quantity"></ion-input>
I know this can be achieved with type=number but I'm restricted to using the type text for other reasons. Is it possible to do so with type text? And also how could I validate a min and max amount?