Skip to content

bug: input-otp readonly doesn't disable delete #30913

Closed

Description

@jongbonga

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

Activity

  1. added theissue type on Jan 14, 2026
  2. added a commit that references this issue on Mar 25, 2026
    81aa977
  3. added a commit that references this issue on Mar 26, 2026
    bad2ac7
  4. ShaneK commented on Apr 1, 2026

    @ShaneK
    Member

    Hey, thanks for your issue report! Just letting you know this was fixed as part of today's release, 8.8.3!

  5. ionitron-bot commented on May 1, 2026

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  6. locked and limited conversation to collaborators on May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions