fix error on empty options in selectbox component
This commit is contained in:
parent
364b30cff6
commit
1d53d99bb3
|
@ -26,7 +26,7 @@
|
|||
},
|
||||
computed: {
|
||||
getOptions(){
|
||||
const values = this.options.split("\n");
|
||||
const values = ( this.options ) ? this.options.split("\n") : '';
|
||||
return values;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue