expandorg / worker-app

worker application
https://portal.expand.org/
Mozilla Public License 2.0
2 stars 0 forks source link

Issue with multiselect initial value coming from response variable #160

Closed kieranoreilly closed 5 years ago

kieranoreilly commented 5 years ago

Scenario: User says there is no bounding box on the image. They click submit. The backend records a response of null We go to show the verifier the image with the bounding box over it. The screen crashes because the frontend module can only take arrays, not null.

Solutions: We can either a) always return on the frontend the empty box variable for the image multiselect b) make it accept null

sslava commented 5 years ago

done