This commit is contained in:
Tobias Johansson
2024-12-05 11:18:24 +01:00
parent 6cb4c63b2e
commit af3c68e464
4 changed files with 59 additions and 54 deletions

View File

@@ -96,7 +96,7 @@ export default function Select({
<ListBox className={styles.listBox}>
{items.map((item) => (
<ListBoxItem
aria-label={JSON.stringify(item)}
aria-label={item.label}
className={`${styles.listBoxItem} ${showRadioButton && styles.showRadioButton}`}
id={item.value}
key={item.label}