Skip to content

I'm unable to populate the information (JSON) that I get back from the back end.  #21

Description

@hungmuha

In file Comment-Location.component.html, I use ngIf and ngFor to populate the JSON that I get back from the back end but it keeps giving me the error that the "comment.field of undefined". I have been googling it but it didn't seems like most people who ever had that problem is caused by syntax but I have try looking at everything line by line and I believe that I have declared everything correctly. I tried comment out the subscribe function in the ts file and the ngIf did its job by not showing the

at all so idk where to go from here.

The Call function works also because I got an object back

Please let me know where should i go from here,

Thank you
github: https://github.com/hungmuha/yokel

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions