Skip to content

Commit

Permalink
chore(settings): Switch to NcSelect
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed May 12, 2023
1 parent f3ee2ab commit af5c974
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/components/SettingsSelectGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,32 +21,30 @@
-->

<template>
<NcMultiselect v-model="inputValObjects"
<NcSelect v-model="inputValObjects"
:options="groupsArray"
:auto-limit="false"
:input-id="uuid"
:placeholder="label"
track-by="id"
label="displayname"
class="multiselect-vue"
:multiple="true"
:close-on-select="false"
:disabled="disabled"
@input="update"
@search-change="asyncFindGroup">
@search="asyncFindGroup">
<span slot="noResult">{{ t('settings', 'No results') }}</span>
</NcMultiselect>
</NcSelect>
</template>

<script>
import axios from '@nextcloud/axios'
import { NcMultiselect } from '@nextcloud/vue'
import { NcSelect } from '@nextcloud/vue'
import { generateOcsUrl } from '@nextcloud/router'
let uuid = 0
export default {
name: 'SettingsSelectGroup',
components: {
NcMultiselect,
NcSelect,
},
props: {
label: {
Expand Down

0 comments on commit af5c974

Please sign in to comment.