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

Password: Missing change and blur events #2610

Closed
sneakylenny opened this issue Jun 1, 2022 · 1 comment
Closed

Password: Missing change and blur events #2610

sneakylenny opened this issue Jun 1, 2022 · 1 comment
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add vue2
Milestone

Comments

@sneakylenny
Copy link

Describe the bug

The password component does not fire any events except for @input.

I'm using vee-validate in lazy mode to validate inputs. Which works fine on <InputText> but not on <Password>. So I wanted to manually validate on @change and @blur but noticed only @input is being emitted.

Lazy mode relies on @change being emitted. Which <Password> doesn't emit.

Reproducer

https://codesandbox.io/s/pedantic-jasper-72u654?file=/src/App.vue

PrimeVue version

2.9.2

Vue version

2.x

Language

ALL

Build / Runtime

Nuxt

Browser(s)

No response

Steps to reproduce the behavior

  1. Use Password component.
  2. Try to make use of events @blur, @change, @focus, @keyUp or @keyDown.

Expected behavior

The component emitting these events. (Or at least the @change event)

Actual behavior

Events are not being emitted.

@sneakylenny sneakylenny added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Jun 1, 2022
@tugcekucukoglu tugcekucukoglu changed the title Password: Missing events Password: Missing focus and blur events Jun 1, 2022
@tugcekucukoglu tugcekucukoglu added Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add vue2 and removed Type: Bug Issue contains a bug related to a specific component. Something about the component is not working labels Jun 1, 2022
@sneakylenny sneakylenny changed the title Password: Missing focus and blur events Password: Missing change and blur events Jun 2, 2022
@mertsincan mertsincan self-assigned this Aug 22, 2022
@mertsincan mertsincan added this to the 2.10.0 milestone Aug 22, 2022
@mertsincan
Copy link
Member

Fixed in 7ba7740

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
Projects
None yet
Development

No branches or pull requests

3 participants