mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08: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:
parent
5790e251b8
commit
b11c4de039
|
@ -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,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue