Merge pull request #762 from Alfresco/dev-denys-747

#747 fix readonly mode for rest radio buttons
This commit is contained in:
Maurizio Vitale 2016-09-19 11:27:43 +01:00 committed by GitHub
commit 7cc0b9dec8

View File

@ -79,7 +79,11 @@ export class DisplayValueWidget extends WidgetComponent implements OnInit {
this.loadRestFieldValue(); this.loadRestFieldValue();
break; break;
case FormFieldTypes.RADIO_BUTTONS: case FormFieldTypes.RADIO_BUTTONS:
this.loadRadioButtonValue(); if (this.field.restUrl) {
this.loadRestFieldValue();
} else {
this.loadRadioButtonValue();
}
break; break;
default: default:
this.value = this.field.value; this.value = this.field.value;