Skip to content

[ASelect]: Component broken when initial value is undefined #178

@IcetCode

Description

@IcetCode

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions