mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +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
@@ -44,6 +44,8 @@ import { ChartsModule } from 'ng2-charts';
|
||||
import { CreateFolderDialog } from './dialogs/create-folder.dialog';
|
||||
import { DebugAppConfigService } from './services/debug-app-config.service';
|
||||
|
||||
import { FormListDemoComponent } from './components/form/form-list-demo.component';
|
||||
|
||||
import {
|
||||
HomeComponent,
|
||||
DataTableDemoComponent,
|
||||
@@ -115,7 +117,8 @@ if (process.env.ENV === 'production') {
|
||||
FormNodeViewer,
|
||||
CreateFolderDialog,
|
||||
SettingsComponent,
|
||||
FormDemoComponent
|
||||
FormDemoComponent,
|
||||
FormListDemoComponent
|
||||
],
|
||||
providers: [
|
||||
{ provide: AppConfigService, useClass: DebugAppConfigService }
|
||||
|
Reference in New Issue
Block a user