mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-850] example on using in-memory form data (#2037)
* stub for custom form service * demo polishing - use in-memory formService only for the corresponding demo page 'Form' - support for mocking rest field values - demo of the typeahead data mocked * load data from app config * fix lint errors * separate Form and Form List demos
This commit is contained in:
committed by
Eugenio Romano
parent
2d33aaec17
commit
ac9b660e83
@@ -1,9 +1,4 @@
|
||||
<adf-form-list [forms]="formList"
|
||||
(row-dblclick)="onRowDblClick($event)">
|
||||
</adf-form-list>
|
||||
<div class="form-container" *ngIf="!isEmptyForm()">
|
||||
<div class="form-container">
|
||||
<activiti-form [form]="form" [data]="restoredData">
|
||||
</activiti-form>
|
||||
</div>
|
||||
<button class="mdl-button mdl-js-button" (click)="store()">STORE</button>
|
||||
<button class="mdl-button mdl-js-button" (click)="restore()">RESTORE</button>
|
||||
|
Reference in New Issue
Block a user