mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-10 15:32:05 -03:30
Show if integer is required
Closes #43202 Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
This commit is contained in:
parent
94a4e062f7
commit
8d79bb082c
@ -19,6 +19,12 @@ export const IntComponent = ({
|
||||
label={t(label!)}
|
||||
labelIcon={t(helpText!)}
|
||||
data-testid={name}
|
||||
rules={{
|
||||
required: {
|
||||
value: !!props.required,
|
||||
message: t("required"),
|
||||
},
|
||||
}}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user