Bug 37762: VueJS framework: Add update event to v-select FormElement
The existing 'selected' event only fires when something is selected, it does not fire when a selection is unselected. onUpdated fires for both. Signed-off-by: Jason Robb <jrobb@sekls.org> Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
903da26fe4
commit
91b4780074
|
|
@ -111,6 +111,7 @@
|
|||
:disabled="disabled"
|
||||
:multiple="attr.allowMultipleChoices"
|
||||
@option:selected="attr.onSelected && attr.onSelected(resource)"
|
||||
@update:modelValue="attr.onUpdated && attr.onUpdated(resource)"
|
||||
>
|
||||
<template v-if="attr.required" #search="{ attributes, events }">
|
||||
<input
|
||||
|
|
|
|||
Loading…
Reference in New Issue