Files
libredesk/frontend/shared-ui/components/ui/select/Select.vue
T
Abhinav Raut 5b6a58fba0 wip: intercom like live chat with chat widget
- new vue app for serving live chat widget, created subdirectories inside frontend dir `main` and `widget`
- vite changes for both main app and widget app.
- new backend live chat channel
- apis for live chat widget
2025-06-29 04:59:55 +05:30

25 lines
769 B
Vue

<script setup>
import { SelectRoot, useForwardPropsEmits } from 'radix-vue'
const props = defineProps({
open: { type: Boolean, required: false },
defaultOpen: { type: Boolean, required: false },
defaultValue: { type: [String, Number], required: false },
modelValue: { type: [String, Number], required: false },
dir: { type: String, required: false },
name: { type: String, required: false },
autocomplete: { type: String, required: false },
disabled: { type: Boolean, required: false },
required: { type: Boolean, required: false }
})
const emits = defineEmits(['update:modelValue', 'update:open'])
const forwarded = useForwardPropsEmits(props, emits)
</script>
<template>
<SelectRoot v-bind="forwarded">
<slot />
</SelectRoot>
</template>