Skip to content

Commit

Permalink
fix cb evo-12257
Browse files Browse the repository at this point in the history
  • Loading branch information
schefbi committed Dec 20, 2023
1 parent c05ceb5 commit 94fb249
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@
// Todo: Combo-Box should be changed so the typed in value is not
// directly written to model.Value.
let modelValue = this.get('model.Value');
let isValid = !this.get('isDropdown') || this.get('model.DropdownItems').some(v => v.Key == modelValue);
let isValid = !this.get('isDropdown') || this.get('allowArbitraryText') || this.get('model.DropdownItems').some(v => v.Key == modelValue);
if (isValid) {
this.sendAction('save', this.get('model'));
} else {
Expand Down

0 comments on commit 94fb249

Please sign in to comment.