refactor(material): modify validation uom and item
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user