Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Form tags: when removing an added tag , it becomes selected #2938

Open
Labels
bugSomething isn't working
@mariusa

Description

@mariusa

Describe the bug

https://bootstrap-vue-next.github.io/bootstrap-vue-next/docs/components/form-tags.html#custom-rendering-with-default-scoped-slot

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
<BFormTag v-for="tag in tags" :key="tag" :title="tag" :variant="tagVariant"@remove="removeTag(tag)" >{{ tag }}
<script setup lang="ts"> import {ref} from 'vue' const value = ref<string[]>(['apple', 'orange', 'banana']) </script>

Used Package Manager

pnpm

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp