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.65k stars 1.34k forks source link

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

Open smirnov-d opened 6 months ago

smirnov-d commented 6 months 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