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,
|
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 {
|
return {
|
||||||
name,
|
name,
|
||||||
initialValue: '',
|
initialValue: '',
|
||||||
@@ -189,6 +189,7 @@ export default defineComponent({
|
|||||||
maxlength,
|
maxlength,
|
||||||
capitalize: true,
|
capitalize: true,
|
||||||
validateOnBlur: false,
|
validateOnBlur: false,
|
||||||
|
focusInitially: focus,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user