refactor(material): modify validation uom and item

This commit is contained in:
riefive
2025-09-04 16:21:10 +07:00
parent 21d087e496
commit ffa4a7d191
5 changed files with 41 additions and 27 deletions
+2 -1
View File
@@ -19,6 +19,7 @@ interface Item {
const props = defineProps<
SelectRootProps & {
items: Item[]
iconName?: string
placeholder?: string
label?: string
separator?: boolean
@@ -31,7 +32,7 @@ const forwarded = useForwardPropsEmits(props, emits)
<template>
<SelectRoot v-bind="forwarded">
<SelectTrigger class="">
<SelectTrigger :icon-name="iconName" class="flex justify-between items-center">
<SelectValue :placeholder="placeholder" />
</SelectTrigger>