mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
do not allow to skip required field with whitespace
This commit is contained in:
1 parent
ab57076b8f
commit
02a7b6ea55
2 files changed
+6
-2
No files matched your search
@@ -34,7 +34,7 @@
|
||||
class="base-input !text-2xl w-full"
|
||||
:class="{ '!pr-11 -mr-10': !field.validation?.pattern }"
|
||||
:required="field.required"
|
||||
:pattern="field.validation?.pattern"
|
||||
:pattern="field.validation?.pattern || (field.required ? '.*\\S+.*' : '')"
|
||||
:placeholder="`${t('type_here_')}${field.required ? '' : ` (${t('optional')})`}`"
|
||||
type="text"
|
||||
:name="`values[${field.uuid}]`"
|
||||
|
||||
Reference in new issue
Block a user