I have 4 methods in ngoninit two methods form getting data from api and other two are to load that data on page load example:
ngOnInit(){
getname();
getsubjects();
loadname();
loadsubjects();
}
/*this loadname to load reactive forms which is declared in constructor
when I am running this I am getting form value as empty If I put load name() in change or click then values are loading to the form am I missing something here conceptual wise anything or any suggestions ?*/