-
-
Notifications
You must be signed in to change notification settings - Fork 173
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The following is an example of using a custom select component for choosing from a pre-defined set of tags:
The example has a bug: when removing an added tag , it becomes selected
I tried to fix with AI and submit the fix, but testing gave the same bug :(
Reproduction
<template #default="{tags, inputAttrs, inputHandlers, tagVariant, addTag, removeTag}"> <BButton variant="primary" @click="addTag()" >Add
<script setup lang="ts"> import {ref} from 'vue' const value = ref<string[]>(['apple', 'orange', 'banana']) </script>
<BFormTag v-for="tag in tags" :key="tag" :title="tag" :variant="tagVariant" class="me-1" @remove="removeTag(tag)" >{{ tag }}
Used Package Manager
pnpm
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working