improve checkboxes form

This commit is contained in:
Alex Turchyn
2023-07-31 00:48:51 +03:00
parent 1f29e624e7
commit 5e4f207844
4 changed files with 46 additions and 26 deletions
+6
View File
@@ -22,6 +22,7 @@
:submittable="true"
:field-index="fieldIndex"
:is-active="currentStep === step"
:with-label="withLabel"
:is-value-set="step.some((f) => f.uuid in values)"
:attachments-index="attachmentsIndex"
@click="$emit('focus-step', step)"
@@ -56,6 +57,11 @@ export default {
required: false,
default: () => ({})
},
withLabel: {
type: Boolean,
required: false,
default: true
},
currentStep: {
type: Array,
required: false,