mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4797] - fix null value for display text when the field it's not visible (#4987)
* fix reset display text value when it's not visible * change invalid unit test * change unit test * use alpha to test
This commit is contained in:
committed by
Eugenio Romano
parent
a8ef686cdd
commit
f9a8d3a4bf
@@ -48,9 +48,6 @@ export class WidgetVisibilityService {
|
||||
|
||||
refreshEntityVisibility(element: FormFieldModel | TabModel) {
|
||||
const visible = this.evaluateVisibility(element.form, element.visibilityCondition);
|
||||
if (!visible && element instanceof FormFieldModel) {
|
||||
element.value = null;
|
||||
}
|
||||
element.isVisible = visible;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user