diff --git a/src/trait_manager/model/Trait.js b/src/trait_manager/model/Trait.js index 988fc6f9b..e49968ab3 100644 --- a/src/trait_manager/model/Trait.js +++ b/src/trait_manager/model/Trait.js @@ -53,10 +53,17 @@ export default class Trait extends Model { setValue(value, opts = {}) { const valueOpts = {}; + if (opts.partial) { valueOpts.avoidStore = true; } + this.setTargetValue(value, valueOpts); + + if (opts.partial === false) { + this.setTargetValue(''); + this.setTargetValue(value); + } } props() {