Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InputNumber new readonly attribute #2469

Closed
alan-soares-dev opened this issue Apr 20, 2022 · 0 comments
Closed

InputNumber new readonly attribute #2469

alan-soares-dev opened this issue Apr 20, 2022 · 0 comments
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add vue2-portable
Milestone

Comments

@alan-soares-dev
Copy link

I'm submitting a ...

[ X ] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primevue/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=110

CodeSandbox Case (Bug Reports)
https://codesandbox.io/s/modest-saha-42f09c?file=/src/InputNumberDemo.vue

Current behavior
You can edit InputNumber value with readonly attribute

Expected behavior
Value cannot be editable with attribute 'readonly'.
Exactly as in component InputText.

Minimal reproduction of the problem with instructions
Click on InputNumber then cursor will dissapear. Type some number on the keyboard.

Vue version:

  • 2.6.13
  • 3.2.31

PrimeVue version:

  • 2.9.1
  • 3.12.5

Browser:

  • Chrome 100.0.4896.127
  • Firefox 99.0
@tugcekucukoglu tugcekucukoglu changed the title InputNumber bug readonly attribute InputNumber new readonly attribute Apr 21, 2022
@tugcekucukoglu tugcekucukoglu added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Apr 21, 2022
@tugcekucukoglu tugcekucukoglu added this to the 3.12.6 milestone Apr 21, 2022
@tugcekucukoglu tugcekucukoglu self-assigned this Apr 21, 2022
yigitfindikli added a commit that referenced this issue Apr 25, 2022
Fixed #2469 - InputNumber new readonly attribute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add vue2-portable
Projects
None yet
Development

No branches or pull requests

2 participants