add with field placeholder prop

This commit is contained in:
Pete Matsyburka
2024-07-19 09:40:56 +03:00
parent 0b4e345ad6
commit 68392b4e74
3 changed files with 28 additions and 6 deletions
+7 -1
View File
@@ -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,