Hi Ujjal Dey,
Greetings from Syncfusion support.
We have validated the reported issues from our end.
Query 1: But the values are not getting populated when I am serving it using ng serve --prod or using ng build –aot.
This application level issue, if you configure either null or empty string value to RTE form builder object in ngOnInit lifecycle method it will occur. Because it override the RTE value API binded value on initial load. We suggest you configure RTE value through ngOnInit - form builder initialization instead of setting component instance from application end.
ngOnInit(): void {
this.rteForm = new FormGroup({
'description': new FormControl(this.rteValue, Validators.required)
});
}
|
Query 2: If I try to submit the value, the variable is returning an empty value.
We unable to reproduce the reported issue and it working fine from our end. We have prepared sample for your reference, get it from below link
If you still facing any issue, kindly modify the shared sample to replicate the issue and revert to us.
Regards,
Pandiyaraj