Skip to content

Commit 8c860d5

Browse files
authored
Add placeholders to v-select in custom fieldtypes (#143)
Co-authored-by: Laurens Kuiper <l@urens.me>
1 parent 07af432 commit 8c860d5

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

resources/js/components/fieldtypes/FormFieldsFieldtype.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
:clearable="true"
1010
:options="fields"
1111
:reduce="(option) => option.id"
12+
:placeholder="__('Choose...')"
1213
:searchable="true"
1314
@input="$emit('input', $event)"
1415
/>

resources/js/components/fieldtypes/MailchimpMergeFieldsFieldtype.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
:clearable="true"
1010
:options="fields"
1111
:reduce="(option) => option.id"
12+
:placeholder="__('Choose...')"
1213
:searchable="true"
1314
@input="$emit('input', $event)"
1415
/>

resources/js/components/fieldtypes/MailchimpTagFieldtype.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
:clearable="true"
1010
:options="tags"
1111
:reduce="(option) => option.id"
12+
:placeholder="__('Choose...')"
1213
:searchable="true"
1314
@input="$emit('input', $event)"
1415
/>

resources/js/components/fieldtypes/UserFieldsFieldtype.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
:clearable="true"
77
:options="fields"
88
:reduce="(option) => option.id"
9+
:placeholder="__('Choose...')"
910
:searchable="true"
1011
@input="$emit('input', $event)"
1112
/>

0 commit comments

Comments
 (0)