Skip to content

InputNumber's onInputBlur fails when component gets destroyed #633

Closed
@cooliopas

Description

@cooliopas

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type: BugIssue contains a bug related to a specific component. Something about the component is not working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions