-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
Type: BugIssue contains a bug related to a specific component. Something about the component is not workingIssue contains a bug related to a specific component. Something about the component is not working
Milestone
Description
Describe the bug
InputOtp: Able to paste otp in readonly and disabled modes.
Reproducer
https://stackblitz.com/edit/pq6v3u?file=src%2FApp.vue
PrimeVue version
3.52.0
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
- Go to https://primevue.org/inputotp/
- Add disabled or readonly prop to inputotp field.
- Try copy and paste numbers.
- Able to paste the numbers to the disabled field.
Expected behavior
Should not be able to paste numbers to the disabled field
Metadata
Metadata
Assignees
Labels
Type: BugIssue contains a bug related to a specific component. Something about the component is not workingIssue contains a bug related to a specific component. Something about the component is not working