Skip to content

Commit

Permalink
fix(combobox): ensure supporting components are auto-defined (#8657)
Browse files Browse the repository at this point in the history
**Related Issue:** #8495 

## Summary

This fixes an issue that prevented the Stencil build from including
supporting components from being auto-defined in the components output
target.

This probably wasn't noticeable since in `combobox` and `combobox-item`s
are expected to be used together.
  • Loading branch information
jcfranco authored Jan 26, 2024
1 parent 04bf60a commit e6d792b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1221,7 +1221,7 @@ export class Combobox
if (!this.isMulti()) {
this.toggleSelection(this.selectedItems[this.selectedItems.length - 1], false);
}
const item = document.createElement(ComboboxItem) as HTMLCalciteComboboxItemElement;
const item = document.createElement("calcite-combobox-item");
item.value = value;
item.textLabel = value;
item.selected = true;
Expand Down

0 comments on commit e6d792b

Please sign in to comment.