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's onInputBlur fails when component gets destroyed #633

Closed
cooliopas opened this issue Nov 10, 2020 · 0 comments
Closed

InputNumber's onInputBlur fails when component gets destroyed #633

cooliopas opened this issue Nov 10, 2020 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@cooliopas
Copy link

When using InputNumber inside a Dialog with closeOnEscape="true" or dismissableMask="true", onInputBlur gets executed when the component is already destroyed, so it throws an error.

It affects PrimeVUE 2 and PrimeVUE 3.

You can easily reproduce it on https://www.primefaces.org/primevue/showcase/#/datatable/crud:

  • Click on "+NEW" button.
  • Focus the "Quantity" InputNumber
  • Press ESC key to close the Dialog
@cagataycivici cagataycivici self-assigned this Nov 25, 2020
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Nov 25, 2020
@cagataycivici cagataycivici added this to the 3.0.2 milestone Nov 25, 2020
@mertsincan mertsincan self-assigned this Nov 26, 2020
mertsincan added a commit that referenced this issue Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

3 participants