reset fields id on collection duplicate
This commit is contained in:
@@ -120,8 +120,8 @@
|
||||
}
|
||||
|
||||
onMount(() => {
|
||||
// auto expand new fields
|
||||
if (!field.id) {
|
||||
if (field?.onMountExpand) {
|
||||
field.onMountExpand = false; // auto expand only the first time
|
||||
expand();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user