Skip to content

Commit

Permalink
feat(NcActionInput): allow to append NcSelect to body
Browse files Browse the repository at this point in the history
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
  • Loading branch information
raimund-schluessler committed Jan 4, 2024
1 parent c9cb219 commit 5b5aec0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NcActionInput/NcActionInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ For the `NcSelect` component, all events will be passed through. Please see the
type="multiselect"
label="label"
track-by="id"
:append-to-body="true"
:multiple="true"
:options="[{label:'Apple', id: 'apple'}, {label:'Banana', id: 'banana'}, {label:'Cherry', id: 'cherry'}]">
<template #icon>
Expand Down Expand Up @@ -193,10 +194,9 @@ For the `NcSelect` component, all events will be passed through. Please see the
:value="value"
:placeholder="text"
:disabled="disabled"
:append-to-body="false"
:input-class="{ focusable: isFocusable }"
class="action-input__multi"
v-bind="$attrs"
v-bind="{ 'append-to-body': false, ...$attrs }"
v-on="$listeners" />

<NcPasswordField v-else-if="type==='password'"
Expand Down

0 comments on commit 5b5aec0

Please sign in to comment.