freeipa-webui icon indicating copy to clipboard operation
freeipa-webui copied to clipboard

Allow custom `aria-label` in `IpaTextInput` component

Open carma12 opened this issue 1 year ago • 0 comments

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}
/>

carma12 avatar Nov 14 '23 14:11 carma12