hi guys, I will build an array of quizzes.
just trying to think, how would would you set one of the radio options as "true" or "correct"
https://payloadcms.com/docs/fields/radio#example
only thing I can think of is using a Number field with min 1, max 4. and they have to put a number in when creating the quizzes.
unless the radio field has something built in?
questions: [
{
id: 1,
question: "What is the main topic of this chapter?",
options: ["Science", "Religion", "History", "Maths"],
correctAnswer: 3
},
]
}```
Is my approach fine?