diff --git a/src/param/param-definition.ts b/src/param/param-definition.ts index 10e505406c18bc57aa77e11bd3109d2101089441..b47b066b0ef7ffa4f636f9e6593fcd838fab5b11 100644 --- a/src/param/param-definition.ts +++ b/src/param/param-definition.ts @@ -581,8 +581,8 @@ export class ParamDefinition implements INamedIterableValues, IObservable { * Validates the given numeric value against the definition domain; throws * an error if value is outside the domain */ - public checkValueAgainstDomain(v: number) { - if (this._allowInvalidValues) { + public checkValueAgainstDomain(v: number, force: boolean = false) { + if (!force && this._allowInvalidValues) { return; }