Skip to content
Snippets Groups Projects
Commit e0561031 authored by Mathias Chouet's avatar Mathias Chouet Committed by mathias.chouet
Browse files

Parameter config: option to disable calculability in GUI

parent d8e411c5
No related branches found
No related tags found
No related merge requests found
......@@ -468,6 +468,9 @@ export class NgParameter extends InputField implements Observer {
}
this.unit = this.paramDefinition.unit;
this.radioConfig = this.getRadioConfig();
if (json["calculable"] !== undefined && json["calculable"] === false) {
this.radioConfig = Math.min(ParamCalculability.FREE, this.getRadioConfig());
}
}
// interface Observer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment