diff --git a/frontend/components/global/AutoForm.vue b/frontend/components/global/AutoForm.vue index 8ad0cbcd9e4..f92acf2e975 100644 --- a/frontend/components/global/AutoForm.vue +++ b/frontend/components/global/AutoForm.vue @@ -18,7 +18,7 @@ :label="inputField.label" :name="inputField.varName" :hint="inputField.hint || ''" - :disabled="(inputField.disableUpdate && updateMode) || (!updateMode && inputField.disableCreate)" + :disabled="(inputField.disableUpdate && updateMode) || (!updateMode && inputField.disableCreate) || (disabledFields && disabledFields.includes(inputField.varName))" @change="emitBlur" /> @@ -26,8 +26,8 @@ string[], + }, + readonlyFields: { + default: null, + type: Array as () => string[], + }, }, setup(props, context) { function rulesByKey(keys?: ValidatorKey[] | null) { diff --git a/frontend/lang/messages/en-US.json b/frontend/lang/messages/en-US.json index 3dfff7a6a12..13b3a7eafc3 100644 --- a/frontend/lang/messages/en-US.json +++ b/frontend/lang/messages/en-US.json @@ -858,7 +858,7 @@ "user-details": "User Details", "user-name": "User Name", "authentication-method": "Authentication Method", - "authentication-method-hint": "This specifies how a user will authenticate with Mealie. If you're not sure, choose 'Mealie", + "authentication-method-hint": "This specifies how a user will authenticate with Mealie. If you're not sure, choose 'Mealie'", "permissions": "Permissions", "administrator": "Administrator", "user-can-invite-other-to-group": "User can invite other to group", diff --git a/frontend/pages/admin/manage/users/_id.vue b/frontend/pages/admin/manage/users/_id.vue index 1ddf88ec57c..c32774a24ac 100644 --- a/frontend/pages/admin/manage/users/_id.vue +++ b/frontend/pages/admin/manage/users/_id.vue @@ -34,7 +34,7 @@ - +
@@ -45,7 +45,7 @@