Skip to content

Commit

Permalink
Merge branch 'master' of github.com:piccolo-orm/piccolo_admin
Browse files Browse the repository at this point in the history
  • Loading branch information
dantownsend committed Feb 24, 2024
2 parents 583f55e + c440d69 commit 35af4cc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions admin_ui/src/components/ArrayWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,21 @@
<ul class="array_items">
<li :key="value" v-for="(value, index) in internalArray">
<!--
We deliberately set the fieldName to blank, as we don't
We deliberately set the `fieldName` to blank, as we don't
want the value to be submitted. Instead, we combine the
values into an array object and submit that instead.
Also, `isFilter` is deliberately always `false`. We don't want
the 'All' option to be shown. For arrays, 'All' is the absence
of any values.
-->
<ChoiceSelect
v-if="choices"
:fieldName="''"
:value="value"
:choices="choices"
:isNullable="isNullable"
:isFilter="isFilter"
:isFilter="false"
:isArray="true"
@updated="updateArray($event, index)"
/>
Expand Down

0 comments on commit 35af4cc

Please sign in to comment.