You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

36 lines
1.1 KiB

import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { TranslationContentService } from 'src/constants/language/TranslationContentService';
import { RouterService } from '../shared/services/routerService';
import {InputSwitchModule} from 'primeng/inputswitch';
@Component({
selector: 'app-customizable-form',
templateUrl: './customizable-form.component.html',
styleUrls: ['./customizable-form.component.scss']
})
export class CustomizableFormComponent implements OnInit {
public showAlertBox:boolean = false;
public languageConstants:any = '';
checked1: boolean = false;
constructor(private routerService: RouterService, private router: Router, private translationContentService:TranslationContentService) { }
ngOnInit(): void {
this.translationContentService.getContent().subscribe((content: any) => {
this.languageConstants = Object.assign({}, content);
});
}
onSubmitForm():void{
this.showAlertBox = true;
}
onReviewSubmit():void{
this.router.navigate(['flexiLeave']);
}
handleChange(e:any) {
let isChecked = e.checked;
}
}