mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
Merge pull request #762 from Alfresco/dev-denys-747
#747 fix readonly mode for rest radio buttons
This commit is contained in:
commit
7cc0b9dec8
@ -79,7 +79,11 @@ export class DisplayValueWidget extends WidgetComponent implements OnInit {
|
||||
this.loadRestFieldValue();
|
||||
break;
|
||||
case FormFieldTypes.RADIO_BUTTONS:
|
||||
this.loadRadioButtonValue();
|
||||
if (this.field.restUrl) {
|
||||
this.loadRestFieldValue();
|
||||
} else {
|
||||
this.loadRadioButtonValue();
|
||||
}
|
||||
break;
|
||||
default:
|
||||
this.value = this.field.value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user