clearing select field automatically after selecting item

前端 未结 4 1412
执念已碎
执念已碎 2021-01-18 08:29

I can\'t find a way to clear the select field in method \"afterselection\" which is invoked after selecting an item:

template:



        
4条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-18 09:14

    Looks like you need to bind to the select a v-model that is a computed property. Then it would be possible to change that value with the @input event.

提交回复
热议问题