fix autofocus (#15450)

Co-authored-by: dev name <devn@brainpop.com>
This commit is contained in:
GBSTR
2022-09-09 10:12:05 +03:00
committed by GitHub
parent 06cff9457a
commit 8c53346126

View File

@@ -39,7 +39,7 @@
:model-value="internalEdits?.[junctionField]"
:fields="relatedCollectionFields"
:validation-errors="junctionField ? validationErrors : undefined"
autofocus
:autofocus="!swapFormOrder"
:show-divider="!swapFormOrder"
@update:model-value="setRelationEdits"
/>
@@ -48,6 +48,7 @@
:disabled="disabled"
:loading="loading"
:initial-values="initialValues"
:autofocus="swapFormOrder"
:show-divider="swapFormOrder"
:primary-key="primaryKey"
:fields="fields"