File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7171 </h3 >
7272 <div
7373 v-if =" !readOnly && !questionValid"
74- v-tooltip.auto =" warningInvalid"
74+ :title =" warningInvalid"
7575 class =" question__header__title__warning"
7676 tabindex =" 0" >
7777 <IconAlertCircleOutline :size =" 20 " />
Original file line number Diff line number Diff line change 3535 {{ t('forms', 'Store responses anonymously') }}
3636 </NcCheckboxRadioSwitch >
3737 <NcCheckboxRadioSwitch
38- v-tooltip =" disableSubmitMultipleExplanation "
38+ : title =" disableSubmitMultipleExplanation "
3939 :checked =" submitMultiple "
4040 :disabled =" disableSubmitMultiple || formArchived || locked "
4141 type="switch"
Original file line number Diff line number Diff line change 55
66<template >
77 <div >
8- <NcSelect
8+ <NcSelectUsers
99 :clear-search-on-select =" false "
10- : close-on-select = " false "
10+ keep-open
1111 :loading =" showLoadingCircle "
1212 :disabled =" locked "
1313 :get-option-key =" (option ) => option .key "
1414 :options =" options "
1515 :placeholder =" t (' forms' , ' Search for user, group or team …' )"
16- user-select
1716 :filter-by =" () => true "
1817 label="displayName"
1918 :aria-label-combobox =" t (' forms' , ' Search for user, group or team …' )"
2019 @search =" asyncSearch "
21- @input =" addShare " >
20+ @update : model-value =" addShare " >
2221 <template #no-options >
2322 {{ noResultText }}
2423 </template >
25- </NcSelect >
24+ </NcSelectUsers >
2625 </div >
2726</template >
2827
2928<script >
30- import NcSelect from ' @nextcloud/vue/components/NcSelect '
29+ import NcSelectUsers from ' @nextcloud/vue/components/NcSelectUsers '
3130
3231import UserSearchMixin from ' ../../mixins/UserSearchMixin.js'
3332
3433export default {
3534 components: {
36- NcSelect ,
35+ NcSelectUsers ,
3736 },
3837
3938 mixins: [UserSearchMixin],
Original file line number Diff line number Diff line change 3838 )
3939 " />
4040 <!-- eslint-enable vue/no-v-html -->
41- <NcSelect
41+ <NcSelectUsers
4242 v-model =" selected "
4343 class="modal-content__select"
44- :reset-focus-on-options-change =" false "
45- clear-search-on-select
46- close-on-select
44+ :reset-on-options-change =" false "
4745 :loading =" loading "
4846 :get-option-key =" (option ) => option .key "
4947 :options =" options "
5048 :placeholder =" t (' forms' , ' Search for a user' )"
51- user-select
5249 label="displayName"
53- @search =" ( query ) => asyncSearch ( query , true ) " >
50+ @search =" asyncSearch " >
5451 <template #no-options >
5552 {{ noResultText }}
5653 </template >
57- </NcSelect >
54+ </NcSelectUsers >
5855
5956 <br />
6057
@@ -103,7 +100,7 @@ import axios from '@nextcloud/axios'
103100import NcButton from ' @nextcloud/vue/components/NcButton'
104101import NcDialog from ' @nextcloud/vue/components/NcDialog'
105102import NcTextField from ' @nextcloud/vue/components/NcTextField'
106- import NcSelect from ' @nextcloud/vue/components/NcSelect '
103+ import NcSelectUsers from ' @nextcloud/vue/components/NcSelectUsers '
107104import UserSearchMixin from ' ../../mixins/UserSearchMixin.js'
108105import logger from ' ../../utils/Logger.js'
109106
@@ -112,7 +109,7 @@ export default {
112109 NcButton,
113110 NcDialog,
114111 NcTextField,
115- NcSelect ,
112+ NcSelectUsers ,
116113 },
117114 mixins: [UserSearchMixin],
118115
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export default {
6666 if ( this . isValidQuery ) {
6767 // already set loading to have proper ux feedback during debounce
6868 this . loading = true
69- await this . debounceGetSuggestions ( query )
69+ this . debounceGetSuggestions ( query )
7070 }
7171 } ,
7272
You can’t perform that action at this time.
0 commit comments