fix: only phrasing content is allowed inside buttons meaning no div or p elements, these are now replaced by span
This commit is contained in:
@@ -60,12 +60,12 @@ export default function Select({
|
||||
>
|
||||
<Body asChild fontOnly>
|
||||
<Button className={styles.input} data-testid={name}>
|
||||
<div className={styles.inputContentWrapper} tabIndex={tabIndex}>
|
||||
<span className={styles.inputContentWrapper} tabIndex={tabIndex}>
|
||||
<Label required={required} size="small">
|
||||
{label}
|
||||
</Label>
|
||||
<SelectValue />
|
||||
</div>
|
||||
</span>
|
||||
<SelectChevron />
|
||||
</Button>
|
||||
</Body>
|
||||
|
||||
Reference in New Issue
Block a user