Fixes not focusing child metadata forms. #17.

This commit is contained in:
mateuswetah 2020-04-03 13:33:32 -03:00
parent b6aca657a4
commit 591495db6e
3 changed files with 7 additions and 3 deletions

View File

@ -26,6 +26,7 @@
ghost-class="sortable-ghost"
chosen-class="sortable-chosen"
filter=".not-sortable-item"
:prevent-on-filter="false"
:animation="250">
<div
class="active-metadatum-item"

View File

@ -39,7 +39,8 @@
:sort="(openedFilterId == '' || openedFilterId == undefined) && !isRepositoryLevel"
:handle="'.handle'"
ghost-class="sortable-ghost"
filter="not-sortable-item"
filter=".not-sortable-item"
:prevent-on-filter="false"
:animation="250">
<div
class="active-filter-item"
@ -169,7 +170,8 @@
v-if="availableMetadata.length > 0 && !isLoadingMetadatumTypes"
v-model="availableMetadata"
:sort="false"
filter="not-sortable-item"
filter=".not-sortable-item"
:prevent-on-filter="false"
:group="{ name:'filters', pull: !isSelectingFilterType, put: false, revertClone: true }"
drag-class="sortable-drag">
<template v-for="(metadatum, index) in availableMetadata">

View File

@ -42,7 +42,8 @@
:handle="'.handle'"
ghost-class="sortable-ghost"
chosen-class="sortable-chosen"
filter="not-sortable-item"
filter=".not-sortable-item"
:prevent-on-filter="false"
:animation="250">
<div
v-for="(metadatum, index) in activeMetadatumList.filter((meta) => meta != undefined && meta.parent == 0)"