Closed Fcarrion001 closed 7 years ago
Issue Resolved wrapping the nested data with the name of the parent object allows me access
{{!-- {{#each games as |game|}}
<div class="col-xs-4 box">
<div data-id="{{this.id}}">
<ul name='games' class='handlebars-fields'>
<h6>Name</h6>
<li>{{game.name}}</li> --}}
{{#release_dates}}
{{!-- <h6>Platform</h6>
<li>{{platform}}</li>
<h6>Release Date</h6>
<li>{{human}}</li> --}}
{{/release_dates}}
{{!-- </ul>
</div>
</div>
{{/each}} --}}
I am sending data from a 3rd party api to my client and I cannot access the nested data This is what handlebars is generating
this is what the data looks like in the console https://www.dropbox.com/s/qayrtv7fiiflx6x/Screenshot%202017-08-30%2019.39.17.png?dl=0
This is how I have handlebars set up
This is the javascript handlebars logic
this is the controller that I am making the request and sending the response with
this is the ajax request
This is the event handler