fix: aria-label warnings for edit profile form
This commit is contained in:
@@ -9,6 +9,7 @@ import styles from "./input.module.css"
|
||||
import type { InputProps } from "./input"
|
||||
|
||||
export default function Input({
|
||||
"aria-label": ariaLabel,
|
||||
control,
|
||||
disabled,
|
||||
name,
|
||||
@@ -24,6 +25,7 @@ export default function Input({
|
||||
|
||||
return (
|
||||
<TextField
|
||||
aria-label={ariaLabel}
|
||||
defaultValue={field.value}
|
||||
isDisabled={disabled ?? field.disabled}
|
||||
isInvalid={fieldState.invalid}
|
||||
|
||||
Reference in New Issue
Block a user