feat: add SingleRecordMnt component for student record maintenance with search, add, edit, view, and delete functionalities
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<template>
|
||||
<v-select
|
||||
color="primary"
|
||||
density="compact"
|
||||
hide-details
|
||||
:items="items"
|
||||
:label="undefined"
|
||||
:model-value="modelValue"
|
||||
:placeholder="placeholder"
|
||||
variant="outlined"
|
||||
@update:model-value="emit('update:modelValue', $event)"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
defineProps<{
|
||||
modelValue: unknown
|
||||
placeholder?: string
|
||||
items?: unknown[]
|
||||
}>()
|
||||
|
||||
const emit = defineEmits<{
|
||||
'update:modelValue': [value: unknown]
|
||||
}>()
|
||||
</script>
|
||||
Reference in New Issue
Block a user