How to achieve an ion-input just numeric and password at the same time?
Try to use pattern an ng-pattern and nothing works.
Not ng-pattern="/^([0-9])?$/"
and pattern="[0-9]*"
neither.
This pattern let me introduce characters not numeric.
The console doesnt show any error.
<ion-input class="ion-form-input" type="password" formControlName="Pin" (keyup)="this.equalPin()">
</ion-input>
Thanks.