fix(editor): fix an issue with not being able to save some of the forms (#4499)

This commit is contained in:
OlegIvaniv 2022-11-01 20:24:05 +01:00 committed by GitHub
parent 1c229a7b52
commit 1e445fc1a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -196,6 +196,8 @@ const showErrors = computed(() => (
));
onMounted(() => {
emit('validate', !validationError.value);
if (props.focusInitially && inputRef.value) inputRef.value.focus();
});