diff --git a/src/app/core/components/navigation/navigation.model.ts b/src/app/core/components/navigation/navigation.model.ts index 12f51dba..1aa6db5a 100644 --- a/src/app/core/components/navigation/navigation.model.ts +++ b/src/app/core/components/navigation/navigation.model.ts @@ -252,6 +252,12 @@ export class FuseNavigation } ] },*/ + { + 'title': 'Forms', + 'type' : 'nav-item', + 'icon' : 'web_asset', + 'url' : '/ui/forms' + }, { 'title': 'Icons', 'type' : 'nav-item', @@ -386,6 +392,12 @@ export class FuseNavigation } ] }, + { + 'title': 'Price Tables', + 'type' : 'nav-item', + 'icon' : 'view_carousel', + 'url' : '/components/price-tables' + } ]; } } diff --git a/src/app/main/content/components/components.module.ts b/src/app/main/content/components/components.module.ts index ef7b89a2..f1a0604c 100644 --- a/src/app/main/content/components/components.module.ts +++ b/src/app/main/content/components/components.module.ts @@ -2,11 +2,16 @@ import { NgModule } from '@angular/core'; import { SharedModule } from '../../../core/modules/shared.module'; import { RouterModule } from '@angular/router'; import { NgxDatatableComponent } from './datatable/ngx-datatable.component'; +import { FusePriceTablesComponent } from './price-tables/price-tables.component'; const routes = [ { path : 'components/datatables/ngx-datatable', component: NgxDatatableComponent + }, + { + path : 'components/price-tables', + component: FusePriceTablesComponent } ]; @@ -16,7 +21,8 @@ const routes = [ RouterModule.forChild(routes) ], declarations: [ - NgxDatatableComponent + NgxDatatableComponent, + FusePriceTablesComponent ] }) export class ComponentsModule diff --git a/src/app/main/content/components/price-tables/price-tables.component.html b/src/app/main/content/components/price-tables/price-tables.component.html new file mode 100644 index 00000000..9be40ef0 --- /dev/null +++ b/src/app/main/content/components/price-tables/price-tables.component.html @@ -0,0 +1,320 @@ +
+ Angular reactive forms facilitate a reactive style of programming that favors explicit management of the + data flowing between a non-UI data model (typically retrieved from a server) and a UI-oriented form model + that retains the states and values of the HTML controls on screen. Reactive forms offer the ease of using + reactive patterns, testing, and validation. +
+ +{{formErrors | json}}
+