change source of select, fixes #61
This commit is contained in:
@@ -234,7 +234,17 @@ List - abstract class for inputs that have source option loaded from js array or
|
||||
});
|
||||
}
|
||||
return result;
|
||||
}
|
||||
},
|
||||
|
||||
option: function(key, value) {
|
||||
this.options[key] = value;
|
||||
if(key === 'source') {
|
||||
this.sourceData = null;
|
||||
}
|
||||
if(key === 'prepend') {
|
||||
this.prependData = null;
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user