mirror of
https://github.com/docusealco/docuseal
synced 2026-11-10 15:42:32 -05:00
add with field placeholder prop
This commit is contained in:
1 parent
0b4e345ad6
commit
68392b4e74
3 files changed
+28
-6
No files matched your search
@@ -23,8 +23,9 @@
|
||||
:submittable="true"
|
||||
:field-index="fieldIndex"
|
||||
:scroll-padding="scrollPadding"
|
||||
:with-field-placeholder="withFieldPlaceholder"
|
||||
:is-active="currentStep === step"
|
||||
:with-label="withLabel"
|
||||
:with-label="withLabel && !withFieldPlaceholder"
|
||||
:is-value-set="step.some((f) => f.uuid in values)"
|
||||
:attachments-index="attachmentsIndex"
|
||||
@click="$emit('focus-step', step)"
|
||||
@@ -54,6 +55,11 @@ export default {
|
||||
required: false,
|
||||
default: () => ({})
|
||||
},
|
||||
withFieldPlaceholder: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: false
|
||||
},
|
||||
scrollPadding: {
|
||||
type: String,
|
||||
required: false,
|
||||
|
||||
Reference in new issue
Block a user