Fix visibility check for radio buttons

This commit is contained in:
Vito Albano
2016-10-24 12:11:31 +01:00
parent 2edabe6a00
commit 7a91807269
3 changed files with 117 additions and 3 deletions

View File

@@ -49,6 +49,11 @@ export class RadioButtonsWidget extends WidgetComponent implements OnInit {
}
}
onOptionClick(optionSelected: any) {
this.field.value = optionSelected;
this.checkVisibility(this.field);
}
handleError(error: any) {
console.error(error);
}