Question and answer is powered by AnsPress.io
I want to disable an input field so that the user can’t edit text, I am trying with this code, it is not working.
My code:
<ion-input [(ngModel)]="user_phone" type="number" placeholder="Phone" disabled></ion-input>