System Information
- Strapi Version: 3.6.8
- Operating System: Ubuntu 20
- Database: PostgreSQL
- Node Version: 14.x
- NPM Version: 6.x
- Yarn Version: 1.x
I have an answer model:
"attributes": {
"uid": {
"type": "string",
"required": false
},
"title": {
"type": "text",
"required": true
},
"user": {
"model": "user"
},
"question": {
"collection": "question",
"collectionName": "questions__answers"
},
"options": {
"collection": "components_survey_options",
"collectionName": "answers_components"
},
"option_components": {
"type": "component",
"repeatable": true,
"component": "survey.option"
}
}
and a bunch of option components predefined, such as:
How can I create a new answer with exist option component’s id?