From 51a314b31542dd69343c0e5b0599fb21c4f1a102 Mon Sep 17 00:00:00 2001 From: Danielle Huisman Date: Tue, 10 Oct 2023 11:18:46 +0200 Subject: [PATCH 1/2] Add placeholder prop to PrimeMultiSelect --- src/formkit/PrimeMultiSelect.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/formkit/PrimeMultiSelect.vue b/src/formkit/PrimeMultiSelect.vue index 031345f3..a40433f7 100644 --- a/src/formkit/PrimeMultiSelect.vue +++ b/src/formkit/PrimeMultiSelect.vue @@ -25,6 +25,7 @@ const styleClass = computed(() => (context?.state.validationVisible && !context? :tabindex="attrs.tabindex" :aria-label="attrs.ariaLabel" :aria-labelledby="attrs.ariaLabelledby" + :placeholder="attrs.placeholder" :options="attrs.options" :option-label="attrs.optionLabel ?? 'label'" :option-value="attrs.optionValue ?? 'value'" From d70e1e5bf6be7aa1ae2cd29d8845da0a6dd2b5e4 Mon Sep 17 00:00:00 2001 From: Danielle Huisman Date: Tue, 10 Oct 2023 12:02:12 +0200 Subject: [PATCH 2/2] Add more props to PrimeMultiSelect --- src/formkit/PrimeMultiSelect.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/formkit/PrimeMultiSelect.vue b/src/formkit/PrimeMultiSelect.vue index a40433f7..9f99f0ea 100644 --- a/src/formkit/PrimeMultiSelect.vue +++ b/src/formkit/PrimeMultiSelect.vue @@ -30,6 +30,11 @@ const styleClass = computed(() => (context?.state.validationVisible && !context? :option-label="attrs.optionLabel ?? 'label'" :option-value="attrs.optionValue ?? 'value'" :filter="attrs.filter ?? false" + :display="attrs.display" + :max-selected-labels="attrs.maxSelectedLabels" + :selected-items-label="attrs.selectedItemsLabel" + :selection-limit="attrs.selectionLimit" + :show-toggle-all="attrs.showToggleAll" :pt="attrs.pt" :pt-options="attrs.ptOptions" :unstyled="attrs.unstyled ?? false"