We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0934d2a commit c693882Copy full SHA for c693882
components/chips/chips.ts
@@ -299,9 +299,9 @@ export class Chips extends Component<ChipsOptions> {
299
}
300
};
301
302
- _renderChip(chip: ChipData): HTMLDivElement {
+ _renderChip(chip: ChipData): HTMLLIElement {
303
if (!chip.id) return;
304
- const renderedChip = document.createElement('div');
+ const renderedChip = document.createElement('li');
305
renderedChip.classList.add('chip');
306
renderedChip.innerText = chip.text || <string>chip.id;
307
// attach image if needed
0 commit comments