Skip to content
Snippets Groups Projects
Commit 90226758 authored by francois.grand's avatar francois.grand
Browse files

#77 correction NgParameter.isValid() pour simplement renvoyer false quand...

 #77 correction NgParameter.isValid() pour simplement renvoyer false quand l'état n'est pas encore défini
parent 02482c8a
No related branches found
No related tags found
1 merge request!15Resolve "faire les modifications nécessaires prendre en compte le ticket cassiopee/jalhyd#46 (Gestion de la session dans la lib)"
......@@ -253,9 +253,12 @@ export class NgParameter extends InputField {
case ParamRadioConfig.CAL:
return true;
case undefined:
return false;
}
throw "NgParameter.isValid() : valeur de ParamRadioConfig non prise en compte";
throw new Error(`"NgParameter.isValid() : valeur de ParamRadioConfig '${this.radioState}' (radioState) non prise en compte`);
}
private static getRadioConfig(s: string) {
......
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