zetkin / www.zetk.in

The main activist front-end for Zetkin.
https://www.zetk.in
4 stars 7 forks source link

Undocumented survey select widget bugs #309

Closed richardolsson closed 3 months ago

richardolsson commented 3 months ago

This PR fixes two issues with the "select" widget for multi-choice survey questions.

The latter is of course a critical bug, which seems to have been introduced by zetkin/zetkin-common#59. Please help me test this thoroughly and be critical against how I've solved this.

I want to merge and deploy this today if possible, but I also want to move to the Gen3 survey interface as soon as we can, so it's not critical that the solution here is the most beautiful, as long as it feels reliable.

As far as I can tell, this only affects the activist portal (not Call) which is why I decided to solve this outside of common.

niklasva82 commented 3 months ago

Ok I finally got www up and running locally, I had some issues. But this is what I get regardless of survey submission. I've had this issues before when running locally and I'm not really sure why. Meaning I can't test this locally.

image