Skip to content

Commit

Permalink
Refactor: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
GuiAmPm committed Oct 21, 2023
1 parent f2cd4fb commit d3ca876
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/ui/components/combobox/src/LionCombobox.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,10 +382,16 @@ export class LionCombobox extends LocalizeMixin(OverlayMixin(CustomChoiceMixin(L
super.checkedIndex = index;
}

/**
* @returns {boolean}
*/
get requireOptionMatch() {
return !this.allowCustomChoice;
}

/**
* @param {boolean} value
*/
set requireOptionMatch(value) {
this.allowCustomChoice = !value;
}
Expand Down

0 comments on commit d3ca876

Please sign in to comment.