在vuetify中关闭芯片时如何停止选择打开? [英] How to stop select from opening when closing chip in vuetify?
本文介绍了在vuetify中关闭芯片时如何停止选择打开?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这个例子来自 vuetify.com
For this example from vuetify.com
https://codepen.io/anon/pen/RqoxXY?&;editors=101
自动完成筹码,当我取消筹码时,如何让它不打开选择菜单?
autocomplete with chips, when I cancel a chip, how do I get it to not make the select menu open?
我尝试了 @click.stop="..."
但它不起作用
i tried @click.stop="..."
but it doesn't work
筹码活动
谢谢
推荐答案
我发现如果您从 v-autocomplete
中删除 box
道具,它将无法打开点击十字移除筹码时的菜单.
I found that if you remove box
prop from your v-autocomplete
, it won't open the menu when you remove a chips by clicking on the cross.
这篇关于在vuetify中关闭芯片时如何停止选择打开?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文