Open mzagaja opened 3 weeks ago
Christopher Scranton said it would make things a lot easier if we could add a multiple select component.
Question: how do we send it to the backend?
Answer: Would need to send the answers as an array up to the backend.
Would also need to update the frontend to send single String responses as an Array with the string inside it so instead of POSTing:
{ "answer": "I love heat pumps" }
You would need to send:
{ "answer": ["I love heat pumps"] }
Christopher Scranton said it would make things a lot easier if we could add a multiple select component.
Question: how do we send it to the backend?
Answer: Would need to send the answers as an array up to the backend.
Would also need to update the frontend to send single String responses as an Array with the string inside it so instead of POSTing:
You would need to send: