InputMask: Missing id property #6100
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
The
id
property is not passed through to the native rendered input of type text.The same behaivor with the
name
attribute would also be desirable.The problem can be reproduced or seen directly in the official documentation:
V4 Documentation (https://primevue.org/inputmask/):
The rendered native input element is missing the id="phone" prop:
V3 Documentation (https://v3.primevue.org/inputmask/):
The rendered native input element has the id="phone" prop:
This problem not only exists on the official documentation website but also when I use the component directly in my own application.
Successor of #6025
Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-yzbded?file=src%2FApp.vue
PrimeVue version
4.1.0
Vue version
4.x
Language
ALL
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The same behaviour like on V3 and as described in the following part of the documentation. The id should be passed to the input element (https://primevue.org/inputmask/#accessibility):
The text was updated successfully, but these errors were encountered: