mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
improve drag'n'drop in the builder
This commit is contained in:
1 parent
2573d8cb19
commit
7a4629bf79
6 files changed
+307
-80
No files matched your search
@@ -3,7 +3,7 @@
|
||||
class="list-field group mb-2"
|
||||
>
|
||||
<div
|
||||
class="border border-base-300 rounded rounded-tr-none relative group fields-list-item"
|
||||
class="border border-base-300 rounded relative group fields-list-item"
|
||||
:style="{ backgroundColor: backgroundColor }"
|
||||
>
|
||||
<div class="flex items-center justify-between relative group/contenteditable-container">
|
||||
@@ -149,7 +149,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
v-if="field.options"
|
||||
v-if="field.options && withOptions"
|
||||
ref="options"
|
||||
class="border-t border-base-300 mx-2 pt-2 space-y-1.5"
|
||||
draggable="true"
|
||||
@@ -302,6 +302,11 @@ export default {
|
||||
type: Object,
|
||||
required: true
|
||||
},
|
||||
withOptions: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: true
|
||||
},
|
||||
defaultField: {
|
||||
type: Object,
|
||||
required: false,
|
||||
|
||||
Reference in new issue
Block a user