mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
fix dynamic table validation (#1741)
- dynamic table widget no longer creates a copy of field model, but uses original one, fixes the problem with validation and state management - update unit tests
This commit is contained in:
committed by
Eugenio Romano
parent
d32ed969a7
commit
44808a31a3
@@ -44,7 +44,7 @@ export class DynamicTableWidget extends WidgetComponent implements OnInit {
|
||||
|
||||
ngOnInit() {
|
||||
if (this.field) {
|
||||
this.content = new DynamicTableModel(this.field.form, this.field.json);
|
||||
this.content = new DynamicTableModel(this.field);
|
||||
this.visibilityService.refreshVisibility(this.field.form);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user