add initial rating numbers
This commit is contained in:
parent
1766f657fe
commit
2e7192061c
|
@ -39,6 +39,7 @@ export class EncuestaCompleteComponent implements OnInit {
|
||||||
selectedSingleOptions: any;
|
selectedSingleOptions: any;
|
||||||
selectedMultiOptions: any;
|
selectedMultiOptions: any;
|
||||||
error: boolean;
|
error: boolean;
|
||||||
|
rating: Number;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
protected activatedRoute: ActivatedRoute,
|
protected activatedRoute: ActivatedRoute,
|
||||||
|
@ -55,6 +56,7 @@ export class EncuestaCompleteComponent implements OnInit {
|
||||||
this.selectedSingleOptions = {};
|
this.selectedSingleOptions = {};
|
||||||
this.selectedMultiOptions = [];
|
this.selectedMultiOptions = [];
|
||||||
this.error = false;
|
this.error = false;
|
||||||
|
this.rating = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
|
|
Loading…
Reference in New Issue