question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

@input event do not work

See original GitHub issue
  • Vue Version: ^3.2.13
  • Vue Select Version: 4.0.0-beta.

Describe the bug input event does not fire after option is selected

<v-select
  v-model="device.configuration.deviceConfig.actionConfigSource"
  :options="fileList"
  :reduce="(option) => option.value"
  @input="onFileChange"
/>

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
nowaysgitcommented, Apr 3, 2022
  • @input and :value don’t work…( If you set :value nothing happens after the change

You can try @option:selected=“onFileChange” fuction onFileChange(val) {}

2reactions
mkalantarcommented, Apr 6, 2022

read here #1597

value renamed to modelValue to match the Vue 3 v-model syntax
@input event renamed to update:modelValue
Read more comments on GitHub >

github_iconTop Results From Across the Web

Input event not working if value is changed with jQuery val() or ...
Simple solution: Trigger input after you call val() : $input.trigger("input");. var $input = $("#myinput"); $input.on('input', function() ...
Read more >
HTMLElement: input event - Web APIs | MDN
The input event fires when the value of an , , or element has been changed.
Read more >
Using InputEvent - Godot Docs
An InputEvent may or may not represent a pre-defined action. Actions are useful because they abstract the input device when programming the game...
Read more >
Events: change, input, cut, copy, paste
Let's cover various events that accompany data updates. Event: change. The change event triggers when the element has finished changing.
Read more >
.focus() | jQuery API Documentation
Therefore, scripts that rely on event delegation with the focus event will not work consistently across browsers. As of version 1.4.2, however, jQuery...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found