mirror of
https://github.com/tenrok/vue-select.git
synced 2026-05-17 02:29:37 +03:00
fix: don't allow empty strings to be selected (#1595)
This commit is contained in:
@@ -702,7 +702,7 @@ export default {
|
||||
value = this.$data._value
|
||||
}
|
||||
|
||||
if (value !== undefined && value !== null) {
|
||||
if (value !== undefined && value !== null && value !== '') {
|
||||
return [].concat(value)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user