Skip to content

Commit 2bcab06

Browse files
committed
pass exclude-fieldset and with-command-palette props
1 parent 0889c06 commit 2bcab06

3 files changed

Lines changed: 16 additions & 0 deletions

File tree

resources/js/components/blueprints/Section.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
:editing-field="editingField"
1919
:suggestable-condition-fields="suggestableConditionFields"
2020
:can-define-localizable="canDefineLocalizable"
21+
:exclude-fieldset="excludeFieldset"
22+
:with-command-palette="withCommandPalette"
2123
@field-created="fieldCreated"
2224
@field-updated="fieldUpdated"
2325
@field-deleted="deleteField"
@@ -146,6 +148,8 @@ export default {
146148
showCollapsibleField: { type: Boolean, default: false },
147149
showHideField: { type: Boolean, default: false },
148150
editText: { type: String },
151+
excludeFieldset: { type: String, default: null },
152+
withCommandPalette: { type: Boolean, default: false },
149153
},
150154
151155
data() {

resources/js/components/blueprints/Sections.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
:show-handle-field="showSectionHandleField"
1212
:show-collapsible-field="showSectionCollapsibleField"
1313
:show-hide-field="showSectionHideField"
14+
:exclude-fieldset="excludeFieldset"
15+
:with-command-palette="withCommandPalette"
1416
:edit-text="editSectionText"
1517
@updated="updateSection(i, $event)"
1618
@deleted="deleteSection(i)"
@@ -80,6 +82,14 @@ export default {
8082
type: Boolean,
8183
default: false,
8284
},
85+
excludeFieldset: {
86+
type: String,
87+
default: null,
88+
},
89+
withCommandPalette: {
90+
type: Boolean,
91+
default: false,
92+
},
8393
},
8494
8595
data() {

resources/js/pages/fieldsets/Edit.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
tab-id="fieldset"
2929
:initial-sections="sections"
3030
:show-section-collapsible-field="true"
31+
:exclude-fieldset="fieldset.handle"
32+
with-command-palette
3133
@updated="sections = $event"
3234
/>
3335
</div>

0 commit comments

Comments
 (0)