Fetching data from DB and binding it to array
In my Angular application currently I have hardcoded the values in an array and binding them to the dropdown list which is working fine, for the dropdown list I am using the control from in-built.
Angular – Fetching data from DB and binding it to array
In my application currently i have hardcoded the values in an array and binding them to the dropdown list which is working fine, for the dropdown list i am using the control from in-built.
Typescript doesn’t realize that my variable is an array
I have a feeling I’m missing something obvious, but I can’t figure out what.