mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#1113 - Fix for show values on completed form
This commit is contained in:
committed by
Mario Romano
parent
98f3cc25f8
commit
424511d1f6
@@ -84,7 +84,7 @@ export class DropdownWidget extends WidgetComponent implements OnInit {
|
||||
|
||||
getOptionValue(option: FormFieldOption): string {
|
||||
let optionValue: string = '';
|
||||
if (option.id === 'empty') {
|
||||
if (option.id === 'empty' || option.name !== this.field.value) {
|
||||
optionValue = option.id;
|
||||
} else {
|
||||
optionValue = option.name;
|
||||
|
Reference in New Issue
Block a user