Skip to content

Commit

Permalink
revert excess value destructuring to keep Knockout integration safe f…
Browse files Browse the repository at this point in the history
…or sure
  • Loading branch information
ksercs committed Dec 23, 2024
1 parent 56613cb commit f1ae4ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ const DropDownList = DropDownEditor.inherit({
},

_setSubmitValue() {
const { value } = this.option();
const value = this.option('value');
const submitValue = this._shouldUseDisplayValue(value) ? this._displayGetter(value) : value;

this._getSubmitElement().val(submitValue);
Expand Down

0 comments on commit f1ae4ba

Please sign in to comment.