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

[Bug Report] VTextField emits change-event even when value has not changed #5070

Closed
tony19 opened this issue Sep 10, 2018 · 1 comment
Closed
Assignees
Labels
C: VTextField VTextField T: bug Functionality that does not work as intended/expected
Milestone

Comments

@tony19
Copy link

tony19 commented Sep 10, 2018

Versions and Environment

Vuetify: 1.2.3
Vue: 2.5.17
Browsers: Chrome 68
OS: macOS High Sierra

Steps to reproduce

  1. Create v-text-field
  2. Put cursor in text input
  3. Press ENTER multiple times (without changing text input value)

Expected Behavior

change-event emitted only if there's a change in the text input's value.

Actual Behavior

change-event emitted for every ENTER-keypress even when the value has not changed

Reproduction Link

https://codepen.io/morphatic/pen/ExVKoRx?editors=1111


Additional Comments:

This appears to be a bug caused by 47c73e6#diff-c2cbb2f11cf8c97e6eff0981f9927269R353

For reference, here's a demo of the change-event in a native <input>: https://codepen.io/tony19/pen/JapOod?editors=1001

@johnleider johnleider self-assigned this Sep 14, 2018
@johnleider johnleider added the T: bug Functionality that does not work as intended/expected label Sep 14, 2018
@MajesticPotatoe MajesticPotatoe changed the title VTextField emits change-event even when value has not changed [Bug Report] VTextField emits change-event even when value has not changed Dec 7, 2018
@MajesticPotatoe MajesticPotatoe added the C: VTextField VTextField label Apr 10, 2019
@morphatic
Copy link
Contributor

The repro was out of date. Still a bug. Here's a new "working" link: https://codepen.io/morphatic/pen/ExVKoRx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VTextField VTextField T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

4 participants