From 0d83366427bd2d6baa8d3b09bdc16e08a52eff9f Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Thu, 11 May 2023 14:21:30 +0200 Subject: [PATCH] chore(Select): add prop for `trailingIcon` --- src/runtime/app.config.ts | 13 +++++++++++-- src/runtime/components/forms/Select.vue | 8 ++++++-- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/src/runtime/app.config.ts b/src/runtime/app.config.ts index ed26f122..6e88c395 100644 --- a/src/runtime/app.config.ts +++ b/src/runtime/app.config.ts @@ -323,11 +323,20 @@ const inputGroup = { } const textarea = { - ...input + ...input, + default: { + size: 'sm', + appearance: 'white' + } } const select = { - ...input + ...input, + default: { + size: 'sm', + appearance: 'white', + trailingIcon: 'i-heroicons-chevron-down-20-solid' + } } const selectMenu = { diff --git a/src/runtime/components/forms/Select.vue b/src/runtime/components/forms/Select.vue index 21250c80..ab570293 100644 --- a/src/runtime/components/forms/Select.vue +++ b/src/runtime/components/forms/Select.vue @@ -40,8 +40,8 @@ - -