33 lines
762 B
TypeScript
33 lines
762 B
TypeScript
import {Component} from '@angular/core';
|
|
import {BreadcrumbService} from '../../app.breadcrumb.service';
|
|
|
|
@Component({
|
|
templateUrl: './formlayoutdemo.component.html'
|
|
})
|
|
export class FormLayoutDemoComponent {
|
|
|
|
selectedState: any = null;
|
|
|
|
states: any[] = [
|
|
{name: 'Arizona', code: 'Arizona'},
|
|
{name: 'California', value: 'California'},
|
|
{name: 'Florida', code: 'Florida'},
|
|
{name: 'Ohio', code: 'Ohio'},
|
|
{name: 'Washington', code: 'Washington'}
|
|
];
|
|
|
|
cities1: any[] = [];
|
|
|
|
cities2: any[] = [];
|
|
|
|
city1: any = null;
|
|
|
|
city2: any = null;
|
|
|
|
constructor(private breadcrumbService: BreadcrumbService) {
|
|
this.breadcrumbService.setItems([
|
|
{label: 'Form Layout'}
|
|
]);
|
|
}
|
|
}
|