jongbonga · GitHub

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

when ion-input-otp has the readonly prop, user can not write but can delete characters

Expected Behavior

input shouldn't allow interaction when readonly

Steps to Reproduce

Click on any block on the input and press backspace key on keyboard

Code Reproduction URL

https://ionicframework.com/docs/api/input-otp#states

Ionic Info

   Ionic CLI                     : 7.2.1 (/Users/jongbonga/.nvm/versions/node/v22.16.0/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 8.7.16
   @angular-devkit/build-angular : 20.3.14
   @angular-devkit/schematics    : 20.3.14
   @angular/cli                  : 20.3.14
   @ionic/angular-toolkit        : 12.3.0

Additional Information

No response

Read the original on github.com ↗