freeipa-webui
freeipa-webui copied to clipboard
Allow custom `aria-label` in `IpaTextInput` component
The IpaTextInput
component takes the name
parameter to define the aria-label
. Ideally, this should be explicitly defined via props.
E.g.:
<IpaTextInput
name={"postalcode"}
ariaLabel={"textbox for postal code"} // <--- This
ipaObject={ipaObject}
onChange={recordOnChange}
objectName="user"
metadata={props.metadata}
/>