[fix] select.js
This commit is contained in:
parent
fb0c701407
commit
de70666c6c
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ frappe.ui.form.ControlSelect = frappe.ui.form.ControlData.extend({
|
|||
},
|
||||
set_options: function(value) {
|
||||
// reset options, if something new is set
|
||||
var options = value || this.df.options || [];
|
||||
var options = this.df.options || [];
|
||||
|
||||
if(typeof this.df.options==="string") {
|
||||
options = this.df.options.split("\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue