|
|
|
@ -1765,12 +1765,13 @@ class PollNew extends Component {
|
|
|
|
|
max_choicess = max_choices;
|
|
|
|
|
min_choicess = min_choices;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
axios.post(urlly, {
|
|
|
|
|
question_title: object.question.question_title,
|
|
|
|
|
question_type: number,
|
|
|
|
|
is_necessary: object.question.is_necessary,
|
|
|
|
|
max_choices: max_choicess,
|
|
|
|
|
min_choices: min_choicess,
|
|
|
|
|
max_choices: max_choicess===undefined?null:max_choicess===null?null:max_choicess===0?null:max_choicess,
|
|
|
|
|
min_choices: min_choicess===undefined?null:min_choicess===null?null:min_choicess===0?null:min_choicess,
|
|
|
|
|
question_answers: option,
|
|
|
|
|
question_other_answer: null,
|
|
|
|
|
insert_id: insert_id
|
|
|
|
|