diff --git a/src/boot/qformMixin.js b/src/boot/qformMixin.js index 8a75e1af7..187ca6dbc 100644 --- a/src/boot/qformMixin.js +++ b/src/boot/qformMixin.js @@ -1,6 +1,5 @@ function focusFirstInput(input) { input.focus(); - return; } export default { mounted: function () { diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index 2cb6ad8e6..c569f2553 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -293,6 +293,7 @@ defineExpose({ class="q-pa-md" :style="maxWidth ? 'max-width: ' + maxWidth : ''" id="formModel" + :prevent-submit="$attrs['prevent-submit']" > { : $props.defaultMode; stateStore.rightDrawer = quasar.screen.gt.xs; columnsVisibilitySkipped.value = [ - ...splittedColumns.value.columns.filter((c) => !c.visible).map((c) => c.name), + ...splittedColumns.value.columns + .filter((c) => c.visible === false) + .map((c) => c.name), ...['tableActions'], ]; createForm.value = $props.create; diff --git a/src/components/VnTable/VnVisibleColumn.vue b/src/components/VnTable/VnVisibleColumn.vue index f5c3458cd..dad950d73 100644 --- a/src/components/VnTable/VnVisibleColumn.vue +++ b/src/components/VnTable/VnVisibleColumn.vue @@ -152,7 +152,7 @@ onMounted(async () => { diff --git a/src/components/ui/CatalogItem.vue b/src/components/ui/CatalogItem.vue index 74a36ff2e..9670d9b68 100644 --- a/src/components/ui/CatalogItem.vue +++ b/src/components/ui/CatalogItem.vue @@ -1,5 +1,5 @@