This commit is contained in:
Mirco Wittrien 2019-11-09 12:30:12 +01:00
parent 4220a114cf
commit b6b0f260ee
3 changed files with 3 additions and 3 deletions

View File

@ -6706,7 +6706,7 @@ var BDFDB = {
handleChange(value) {
this.props.value = value;
BDFDB.ReactUtils.forceUpdate(this);
if (typeof this.props.onChange == "function") this.props.onChange(value, this);
if (typeof this.props.onChange == "function") this.props.onChange(value.value, this);
}
render() {
let options = (BDFDB.ArrayUtils.is(this.props.options) ? this.props.options : [{}]).filter(n => n);

File diff suppressed because one or more lines are too long

View File

@ -199,7 +199,7 @@ class RepoControls {
value: valuekey
}}),
onChange: value => {
BDFDB.DataUtils.save(value.value, this, "sortings", key);
BDFDB.DataUtils.save(value, this, "sortings", key);
this.sortEntries(instance, parent);
}
})