mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(editor): Focus mfa token input (no-changelog) (#7610)
Github issue / Community forum post (link here to close automatically):
This commit is contained in:
@@ -179,7 +179,7 @@ export default defineComponent({
|
||||
MFA_AUTHENTICATION_RECOVERY_CODE_INPUT_MAX_LENGTH,
|
||||
);
|
||||
},
|
||||
formField(name: string, label: string, placeholder: string, maxlength: number) {
|
||||
formField(name: string, label: string, placeholder: string, maxlength: number, focus = true) {
|
||||
return {
|
||||
name,
|
||||
initialValue: '',
|
||||
@@ -189,6 +189,7 @@ export default defineComponent({
|
||||
maxlength,
|
||||
capitalize: true,
|
||||
validateOnBlur: false,
|
||||
focusInitially: focus,
|
||||
},
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user