sagalbot / vue-select

Everything you wish the HTML <select> element could do, wrapped up into a lightweight, extensible Vue component.
https://vue-select.org
MIT License
4.62k stars 1.33k forks source link

check arr.length instead of this.model (0) when using reduce #1835

Open smirnov-d opened 1 month ago

smirnov-d commented 1 month ago

Requirements:

Options are an async array of objects, Custom "Reduce" prop is set If the initial v-model value is set in 0, then the label will not change after receiving an asynchronous Options array