mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-810] fix default value radio button (#1975)
This commit is contained in:
committed by
Eugenio Romano
parent
142d6a0bbf
commit
25cefc6414
@@ -292,8 +292,6 @@ export class FormFieldModel extends FormWidgetModel {
|
||||
let rbEntry: FormFieldOption[] = this.options.filter(opt => opt.id === this.value);
|
||||
if (rbEntry.length > 0) {
|
||||
this.form.values[this.id] = rbEntry[0];
|
||||
} else if (this.options.length > 0) {
|
||||
this.form.values[this.id] = this.options[0];
|
||||
}
|
||||
break;
|
||||
case FormFieldTypes.UPLOAD:
|
||||
|
Reference in New Issue
Block a user