Skip to content

Commit d3e0d53

Browse files
Update core/src/components/select/select.tsx
Co-authored-by: Brandy Smith <[email protected]>
1 parent 97c672e commit d3e0d53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/components/select/select.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ export class Select implements ComponentInterface {
559559
const isSelected = isOptionSelected(selectValue, value, this.compareWith);
560560

561561
return {
562-
role: isOptionSelected(selectValue, value, this.compareWith) ? 'selected' : '',
562+
role: isSelected ? 'selected' : '',
563563
text: option.textContent,
564564
cssClass: optClass,
565565
handler: () => {

0 commit comments

Comments
 (0)