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.
2 parents 558dcd9 + b96040c commit 35aba22Copy full SHA for 35aba22
src/multi-select/tp-multi-select.ts
@@ -89,7 +89,7 @@ export class TPMultiSelectElement extends HTMLElement {
89
const styledOptions: NodeListOf<TPMultiSelectOptionElement> | null = this.querySelectorAll( 'tp-multi-select-option' );
90
styledOptions?.forEach( ( option: TPMultiSelectOptionElement ): void => {
91
if ( value.includes( option.getAttribute( 'value' ) ?? '' ) ) {
92
- option.setAttribute( 'selected', 'selected' );
+ option.setAttribute( 'selected', 'yes' );
93
} else {
94
option.removeAttribute( 'selected' );
95
}
0 commit comments