adminforth 2.25.0-next.13 → 2.25.0-next.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
class="block w-full pl-3 pr-10 py-2.5 border border-lightDropownButtonsBorder rounded-md leading-5 bg-lightDropdownButtonsBackground
|
|
14
14
|
placeholder-lightDropdownButtonsPlaceholderText text-lightDropdownButtonsText sm:text-sm transition duration-150 ease-in-out dark:bg-darkDropdownButtonsBackground dark:border-darkDropdownButtonsBorder dark:placeholder-darkDropdownButtonsPlaceholderText
|
|
15
15
|
dark:text-darkDropdownButtonsText focus:ring-lightPrimary focus:border-lightPrimary dark:focus:ring-darkPrimary dark:focus:border-darkPrimary"
|
|
16
|
-
:class="{'cursor-pointer': searchDisabled}"
|
|
16
|
+
:class="[{'cursor-pointer': searchDisabled}, classesForInput]"
|
|
17
17
|
autocomplete="off" data-custom="no-autofill"
|
|
18
18
|
:placeholder="
|
|
19
19
|
selectedItems.length && !multiple ? '' : (showDropdown ? $t('Search') : placeholder || $t('Select...'))
|
|
@@ -153,6 +153,10 @@ const props = defineProps({
|
|
|
153
153
|
type: Number,
|
|
154
154
|
default: 300,
|
|
155
155
|
},
|
|
156
|
+
classesForInput: {
|
|
157
|
+
type: String,
|
|
158
|
+
default: '',
|
|
159
|
+
},
|
|
156
160
|
});
|
|
157
161
|
|
|
158
162
|
const emit = defineEmits(['update:modelValue', 'scroll-near-end', 'search']);
|