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 d52b253 commit 26a8bc6Copy full SHA for 26a8bc6
core/src/components/select/select.tsx
@@ -349,7 +349,7 @@ export class Select implements ComponentInterface {
349
const indexOfSelected = this.childOpts.findIndex((o) => o.value === this.value);
350
if (indexOfSelected > -1) {
351
const selectedItem = overlay.querySelector<HTMLElement>(
352
- `.select-interface-option:nth-child(${indexOfSelected + 1})`
+ `.select-interface-option:nth-of-type(${indexOfSelected + 1})`
353
);
354
355
if (selectedItem) {
0 commit comments