Thanks in advance.
I am really trying to get data from my json file while the user parsing on the button but it doesn’t work… any help?
New with Ionic
Thanks
While “it doesn’t work” may make perfect sense to you, it is pretty useless to a stranger. Describe expected behavior, actual behavior, and the difference between the two. Include any relevant error messages (as text).
Don’t abuse any here. Define an interface and use it. More importantly, always initialize every object property at the point of declaration, even if it is only to something like [] for arrays or {} for objects. Presumably you have an ngFor somewhere in code you haven’t posted that is throwing errors when attempting to loop across undefined.