adjust detection

This commit is contained in:
Pete Matsyburka
2025-11-27 17:00:26 +02:00
parent 453ebbf90a
commit 41f16e7d39
+2 -2
View File
@@ -75,7 +75,7 @@ module Templates
{ {
uuid: SecureRandom.uuid, uuid: SecureRandom.uuid,
type: f.type, type: f.type,
required: f.type != 'checkbox', required: f.type == 'signature',
preferences: {}, preferences: {},
areas: [{ areas: [{
x: f.x, x: f.x,
@@ -128,7 +128,7 @@ module Templates
{ {
uuid: SecureRandom.uuid, uuid: SecureRandom.uuid,
type:, type:,
required: type != 'checkbox', required: type == 'signature',
preferences: {}, preferences: {},
areas: [{ areas: [{
x: field.x, y: field.y, x: field.x, y: field.y,