Commit 40397b77 authored by Grand Francois's avatar Grand Francois
Browse files

#72 correction d'un bug empêchant de modifier le min/max/pas d'un paramètre à varier

Showing with 6 additions and 6 deletions
+6 -6
......@@ -69,7 +69,7 @@ export class BaseParamInputComponent extends GenericInputComponent {
return this._tmp;
}
protected setModelValue(v: any) {
protected setModelValue(sender: any, v: any) {
this._tmp = v;
try {
this._paramDef.setValue(v);
......
......@@ -26,7 +26,7 @@ export class CalculatorNameComponent extends GenericInputComponent {
/**
* affecte la valeur du modèle
*/
protected setModelValue(v: any) {
protected setModelValue(sender: any, v: any) {
this._form.calculatorName = v;
this.updateAndValidateUI();
}
......
......@@ -28,7 +28,7 @@ export class NgParamMaxComponent extends GenericInputComponent {
return this._param.maxValue;
}
protected setModelValue(v: any) {
protected setModelValue(sender: any, v: any) {
this._param.maxValue = v;
}
......
......@@ -28,7 +28,7 @@ export class NgParamMinComponent extends GenericInputComponent {
return this._param.minValue;
}
protected setModelValue(v: any) {
protected setModelValue(sender: any, v: any) {
this._param.minValue = v;
}
......
......@@ -28,7 +28,7 @@ export class NgParamStepComponent extends GenericInputComponent {
return this._param.stepValue;
}
protected setModelValue(v: any) {
protected setModelValue(sender: any, v: any) {
this._param.stepValue = v;
}
......
......@@ -27,7 +27,7 @@ export class ValueListComponent extends GenericInputComponent {
return this._param.valueList;
}
protected setModelValue(l: any) {
protected setModelValue(sender: any, l: any) {
if (typeof (l) == "number") {
this._param.valueList = [];
this._param.valueList.push(l);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment