score:1

this behaviour comes from that your labels array contains an array containing an array with all labels like this: [["label1", "label2", "label3"]] this is meant for multiline labels. you need to make sure your labels are in a single array like this: ["label1", "label2", "label3"] then it will render correctly.

a simple fix for this is replace labels: [answers], by labels: answers,


Related Query

More Query from same tag