[ASelect]: Component broken when initial value is undefined
IcetCode opened this issue · comments
Icet commented
What is actually happening?
<script setup lang="ts">
const selectedFruit = ref()
const fruits = ['banana', 'apple', 'watermelon', 'orange']
</script>
<template>
<ASelect :options="fruits"/>
</template>
ASelect
is not rendered correctly when the modelValue is not passed or is undefined.
What is Expected?
should render correctly