InputNumber: Make behavior of Home/End keys configurable #1853
Replies: 2 comments 1 reply
-
Hmm that seems to be the accessibility guidelines from ARIA specs and what PrimeTek has settled on? https://primevue.org/inputnumber/#accessibility |
Beta Was this translation helpful? Give feedback.
-
I think you are referring to the 'ARIA Spinbutton Pattern' (https://www.w3.org/WAI/ARIA/apg/patterns/spinbutton/). At least in the case, where spin buttons are not displayed in InputNumber (showButtons = false, the default), this pattern does not apply. |
Beta Was this translation helpful? Give feedback.
-
I find the behavior of Home/End keys in InputNumber unusual: When min/max is set, Home will set the value to min and End will set it to max. When min/max are not set, these keys have no function.
This is different from standard behavior in an input field, where Home sets the caret to the very left and End to the very right.
Therefore, I would like to see a configuration property, that allows to activate the 'standard behavior'
Beta Was this translation helpful? Give feedback.
All reactions