draw field on field type click

This commit is contained in:
Pete Matsyburka
2024-01-06 21:16:27 +02:00
parent 5208470c38
commit dc8e8cc5c9
3 changed files with 27 additions and 7 deletions
+2 -2
View File
@@ -131,7 +131,7 @@
Drag & drop any other field type on the page
</li>
<li>
Click on the field type above to add it to the form without drawing it on the document
Click on the field type above to start drawing it
</li>
</ul>
</div>
@@ -295,7 +295,7 @@ export default {
this.fields.push(field)
if (['signature', 'initials', 'cells', 'stamp'].includes(type)) {
if (!['payment', 'file'].includes(type)) {
this.$emit('set-draw', { field })
}