diff --git a/src/runtime/components/forms/SelectCustom.vue b/src/runtime/components/forms/SelectCustom.vue index db688ed9..9e28616b 100644 --- a/src/runtime/components/forms/SelectCustom.vue +++ b/src/runtime/components/forms/SelectCustom.vue @@ -63,14 +63,16 @@
  • - + Create "{{ queryOption[textAttribute] }}"
  • -

    - No results found for "{{ query }}". +

    + + No results found for "{{ query }}". +

    @@ -212,6 +214,10 @@ const props = defineProps({ type: String, default: () => $ui.selectCustom.list.option.disabled }, + listOptionEmptyClass: { + type: String, + default: () => $ui.selectCustom.list.option.empty + }, listOptionIcon: { type: String, default: () => 'heroicons-solid:check' diff --git a/src/runtime/presets/default.ts b/src/runtime/presets/default.ts index 835354a3..522df56e 100644 --- a/src/runtime/presets/default.ts +++ b/src/runtime/presets/default.ts @@ -202,6 +202,7 @@ export default (variantColors: string[]) => { selected: 'font-semibold', unselected: 'font-normal', disabled: 'cursor-not-allowed opacity-50', + empty: 'text-sm u-text-gray-400 px-4 py-2', icon: { base: 'absolute inset-y-0 right-0 flex items-center pr-4', active: 'text-white',