feat(WEB-163): edit profile field validation
This commit is contained in:
@@ -31,6 +31,8 @@ export default function Select({
|
||||
name,
|
||||
onSelect,
|
||||
placeholder,
|
||||
required = false,
|
||||
tabIndex,
|
||||
value,
|
||||
}: SelectProps) {
|
||||
const [rootDiv, setRootDiv] = useState<SelectPortalContainer>(undefined)
|
||||
@@ -58,8 +60,10 @@ export default function Select({
|
||||
>
|
||||
<Body asChild fontOnly>
|
||||
<Button className={styles.input}>
|
||||
<div className={styles.inputContentWrapper}>
|
||||
<Label size="small">{label}</Label>
|
||||
<div className={styles.inputContentWrapper} tabIndex={tabIndex}>
|
||||
<Label required={required} size="small">
|
||||
{label}
|
||||
</Label>
|
||||
<SelectValue />
|
||||
</div>
|
||||
<SelectChevron />
|
||||
|
||||
Reference in New Issue
Block a user