Hi there
I have a nested list with text and radio button that is not displaying in Ionic 2.
This is a bit of a desperate situation and I have been sitting for hours with this. Worst of all it used to work but since updating the framework to 2.0.0-rc.6 it doesn’t render anymore.
<ion-list class="opl-question-container">
<ion-item *ngFor="let opl of Opls">
<ion-item *ngFor="let q of opl.Questions" class='questionDescibe' text-wrap>
<ion-list-header>
{{ q.QuestionName }}
</ion-list-header>
<ion-list radio-group text-wrap>
<ion-item *ngFor="let a of q.Answers">
<ion-label class="opl-question-answers">{{a.AnswerDescription}}</ion-label>
<ion-radio [value]='a.AnswerDescription'></ion-radio>
</ion-item>
</ion-list>
</ion-item>
</ion-item>
</ion-list>
If I replace the ion-label and ion-radio with just text it does render.
Any advice perhaps on how to solve this issue?
Herewith the structure of the Opls
{
"Opl_Id": 103,
"OplDescription": "Lesson One",
"Questions": [
{
"Question_Id": 11,
"QuestionName": "1. How are you today?",
"QuestionDescription": "1. How are you today?",
"QuestionType": "radio",
"Answers": [
{
"Answer_Id": 33,
"AnswerDescription": "I am well thanks",
"Correct": false,
"DateCreated": "0001-01-01T00:00:00",
"DateUpdated": "0001-01-01T00:00:00"
},
{
"Answer_Id": 34,
"AnswerDescription": "Could be better but not too bad",
"Correct": false,
"DateCreated": "0001-01-01T00:00:00",
"DateUpdated": "0001-01-01T00:00:00"
},
{
"Answer_Id": 35,
"AnswerDescription": "Not too good",
"Correct": true,
"DateCreated": "0001-01-01T00:00:00",
"DateUpdated": "0001-01-01T00:00:00"
}
]
},
Thank you