aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar garronej <[email protected]>2023-06-20 15:01:13 +0200
committerGravatar garronej <[email protected]>2023-06-20 15:01:13 +0200
commit746d3f4064be9a38c9f8aeff407627c556eac275 (patch)
tree2a059c250fffe8d75c9b1ea5582bb827751f125b /src
parentBump version (diff)
Update keycloakify
Diffstat (limited to 'src')
-rw-r--r--src/keycloak-theme/login/pages/shared/UserProfileFormFields.tsx8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/keycloak-theme/login/pages/shared/UserProfileFormFields.tsx b/src/keycloak-theme/login/pages/shared/UserProfileFormFields.tsx
index bfcb2c8..a95d47b 100644
--- a/src/keycloak-theme/login/pages/shared/UserProfileFormFields.tsx
+++ b/src/keycloak-theme/login/pages/shared/UserProfileFormFields.tsx
@@ -17,7 +17,7 @@ export type UserProfileFormFieldsProps = {
export function UserProfileFormFields(props: UserProfileFormFieldsProps) {
const { kcContext, onIsFormSubmittableValueChange, i18n, getClassName, BeforeField, AfterField } = props;
- const { advancedMsg } = i18n;
+ const { advancedMsg, msg } = i18n;
const {
formValidationState: { fieldStateByAttributeName, isFormSubmittable },
@@ -99,7 +99,9 @@ export function UserProfileFormFields(props: UserProfileFormFieldsProps) {
value={value}
>
<>
- <option value="" selected disabled hidden>Select an option</option>
+ <option value="" selected disabled hidden>
+ {msg("selectAnOption")}
+ </option>
{options.options.map(option => (
<option key={option} value={option}>
{option}
@@ -172,4 +174,4 @@ export function UserProfileFormFields(props: UserProfileFormFieldsProps) {
})}
</>
);
-}
+} \ No newline at end of file