mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
add stamp field type
This commit is contained in:
1 parent
2562c4f432
commit
e89b42de40
12 files changed
+151
-16
No files matched your search
@@ -261,6 +261,10 @@ export default {
|
||||
field.options = [{ value: '', uuid: v4() }]
|
||||
}
|
||||
|
||||
if (type === 'stamp') {
|
||||
field.readonly = true
|
||||
}
|
||||
|
||||
if (type === 'date') {
|
||||
field.preferences = {
|
||||
format: Intl.DateTimeFormat().resolvedOptions().locale.endsWith('-US') ? 'MM/DD/YYYY' : 'DD/MM/YYYY'
|
||||
|
||||
Reference in new issue
Block a user