diff --git a/addon/components/validated-input.js b/addon/components/validated-input.js index bd194788..d0510fe8 100644 --- a/addon/components/validated-input.js +++ b/addon/components/validated-input.js @@ -91,7 +91,9 @@ export class ValidatedInput extends Component { if (this["on-update"]) { this["on-update"](value, this.args.model); } else { - set(this.args.model, this.args.name, value); + this.args.model.set + ? this.args.model.set(this.args.name, value) + : set(this.args.model, this.args.name, value); } } }