matrices: allow setting all of a matrice values at once

This commit is contained in:
jean-emmanuel 2017-01-10 21:02:50 +01:00
parent d53290984e
commit c3070b3684

View file

@ -25,5 +25,12 @@ module.exports = class _matrices_base extends _widgets_base {
}
setValue(v, options={}) {
if (v && v.length == this.value.length) {
for (var i in v) {
this.widget[0].children[i].abstract.setValue(v[i], options)
}
}
}
}