Skip to content

Commit

Permalink
fix when no default
Browse files Browse the repository at this point in the history
  • Loading branch information
GrabowskiM committed Jan 29, 2025
1 parent 0bfab13 commit 1b06922
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ class IbexaCustomAttributesFormView extends View {
}

this.listenTo(labeledDropdown.fieldView, 'execute', (event) => {
const dropdownValue = labeledDropdown.fieldView.element.value;
const dropdownValue = labeledDropdown.fieldView.element.value ?? '';
const value = this.getNewValue(event.source.value, config.multiple, dropdownValue);

if (config.multiple) {
Expand Down

0 comments on commit 1b06922

Please sign in to comment.