EchoTex_Payroll/HRM.UI/ClientApp/src/app/demo/view/formlayoutdemo.component.ts

33 lines
762 B
TypeScript
Raw Normal View History

2024-10-14 10:01:49 +06:00
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'}
]);
}
}