Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions packages/main/src/Select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,15 @@ type SelectLiveChangeEventDetail = {
@event("selected-item-changed", {
bubbles: true,
})

/**
* Fired to make Vue.js two way data binding work properly.
* @private
*/
@event("input", {
bubbles: true,
})

class Select extends UI5Element implements IFormInputElement {
@i18n("@ui5/webcomponents")
static i18nBundle: I18nBundle;
Expand Down Expand Up @@ -749,6 +758,9 @@ class Select extends UI5Element implements IFormInputElement {
// Angular two way data binding
this.fireDecoratorEvent("selected-item-changed");

// Fire input event for Vue.js two-way binding
this.fireDecoratorEvent("input");

if (changePrevented) {
this._select(this._selectedIndexBeforeOpen);
}
Expand Down