From 0c2a5d98cf9be33ea3edac01747204cfd4a5932b Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Sat, 13 May 2023 23:21:32 +0200 Subject: [PATCH] chore(SelectMenu): use `trailingIcon` default from `Select` for consistency --- src/runtime/app.config.ts | 3 +-- src/runtime/components/forms/SelectMenu.vue | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/runtime/app.config.ts b/src/runtime/app.config.ts index 3c8b1314..3b2e41f2 100644 --- a/src/runtime/app.config.ts +++ b/src/runtime/app.config.ts @@ -390,8 +390,7 @@ const selectMenu = { placement: 'bottom-end' }, default: { - selectedIcon: 'i-heroicons-check-20-solid', - trailingIcon: 'i-heroicons-chevron-down-20-solid' + selectedIcon: 'i-heroicons-check-20-solid' } } diff --git a/src/runtime/components/forms/SelectMenu.vue b/src/runtime/components/forms/SelectMenu.vue index a1dbf926..5a244a98 100644 --- a/src/runtime/components/forms/SelectMenu.vue +++ b/src/runtime/components/forms/SelectMenu.vue @@ -161,7 +161,7 @@ export default defineComponent({ }, trailingIcon: { type: String, - default: () => appConfig.ui.selectMenu.default.trailingIcon + default: () => appConfig.ui.select.default.trailingIcon }, selectedIcon: { type: String,