amy icon indicating copy to clipboard operation
amy copied to clipboard

Require single select for Event Curriculum Taught

Open maneesha opened this issue 3 years ago • 5 comments

Currently this allows for multiple selection: image

This should be modified to allow only one item to be selected. Correspondingly, the field should be renamed from "Curricula taught at the workshop" (plural) to "Curriculum taught at the workshop" (singular).

maneesha avatar Nov 03 '21 19:11 maneesha

What if we have some data already that was entered with multiple curricula? Maybe I can keep the underlying data structure as M2M, but allow the form to take just 1 entry?

Additionally there's a small issue with WRF. We basically copy "workshop types" or "requested workshop types" from WRF into a new Event. This means that we'd have to limit the WRF "workshop types"/"requested workshop types" to single selection, too.

pbanaszkiewicz avatar Nov 28 '21 14:11 pbanaszkiewicz

I'm checking with our team on this.

Is it possible to have the event form take just one entry but still have the request form allow multiple?

maneesha avatar Nov 29 '21 14:11 maneesha

Is it possible to have the event form take just one entry but still have the request form allow multiple?

It's possible. The issue is when we're creating events from the requests. Some fields used to be rewritten 1-to-1, like curricula. Now if we enforce limit in Event Form, then how do we treat multiple entries from the request form? Do we allow to enter multiple nonetheless? Or do we display selections but fail the form, so the user has to deal with it themselves?

pbanaszkiewicz avatar Nov 29 '21 18:11 pbanaszkiewicz

I will be discussing this with the workshop admin team.

maneesha avatar Apr 18 '23 11:04 maneesha

I talked with the WAT and they are fine with select one on both the form and the event listing.

maneesha avatar May 09 '23 14:05 maneesha