Skip to content

Commit

Permalink
fix(NcActionInput): Add label to sample
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Mar 21, 2024
1 parent 6081376 commit 5af97ac
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/NcActionInput/NcActionInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ For the `NcSelect` component, all events will be passed through. Please see the
</template>
Please pick a date
</NcActionInput>
<NcActionInput type="multiselect" :options="['Apple', 'Banana', 'Cherry']">
<NcActionInput
type="multiselect"
label="Fruit selection"
:options="['Apple', 'Banana', 'Cherry']">
<template #icon>
<Pencil :size="20" />
</template>
Expand All @@ -98,7 +101,7 @@ For the `NcSelect` component, all events will be passed through. Please see the
<NcActionInput
v-model="multiSelected"
type="multiselect"
label="label"
label="Fruit selection"
track-by="id"
:append-to-body="true"
:multiple="true"
Expand Down

0 comments on commit 5af97ac

Please sign in to comment.