Show required fields when configuring protocol mappers

Closes #40619

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
This commit is contained in:
Alexander Schwartz
2025-08-15 07:28:45 +02:00
committed by GitHub
parent c1afa376b2
commit 7629b7dc53
4 changed files with 16 additions and 0 deletions

View File

@@ -17,6 +17,12 @@ export const StringComponent = ({
label={t(label!)}
labelIcon={t(helpText!)}
data-testid={name}
rules={{
required: {
value: !!props.required,
message: t("required"),
},
}}
{...props}
/>
);