chore: do not focus on label if form builder is loaded
This commit is contained in:
parent
c45306e923
commit
58bf248bb8
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ function duplicate_field() {
|
|||
store.form.selected_field = duplicate_field.df;
|
||||
}
|
||||
|
||||
onMounted(() => label_input.value.focus_on_label());
|
||||
onMounted(() => selected.value && label_input.value.focus_on_label());
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue