parent
42dae904d0
commit
ceabb4f690
1 changed files with 14 additions and 1 deletions
|
@ -155,9 +155,22 @@ export const ClientScopeForm = () => {
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
fieldId="kc-description"
|
fieldId="kc-description"
|
||||||
|
validated={
|
||||||
|
errors.description
|
||||||
|
? ValidatedOptions.error
|
||||||
|
: ValidatedOptions.default
|
||||||
|
}
|
||||||
|
helperTextInvalid={t("common:maxLength", { length: 255 })}
|
||||||
>
|
>
|
||||||
<TextInput
|
<TextInput
|
||||||
ref={register}
|
ref={register({
|
||||||
|
maxLength: 255,
|
||||||
|
})}
|
||||||
|
validated={
|
||||||
|
errors.description
|
||||||
|
? ValidatedOptions.error
|
||||||
|
: ValidatedOptions.default
|
||||||
|
}
|
||||||
type="text"
|
type="text"
|
||||||
id="kc-description"
|
id="kc-description"
|
||||||
name="description"
|
name="description"
|
||||||
|
|
Loading…
Reference in a new issue