fix error on empty options in selectbox component

This commit is contained in:
Eduardo humberto 2017-12-07 15:41:01 -02:00
parent 364b30cff6
commit 1d53d99bb3
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
},
computed: {
getOptions(){
const values = this.options.split("\n");
const values = ( this.options ) ? this.options.split("\n") : '';
return values;
}
}