Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require single select for Event Curriculum Taught #2095

Open
maneesha opened this issue Nov 3, 2021 · 5 comments
Open

Require single select for Event Curriculum Taught #2095

maneesha opened this issue Nov 3, 2021 · 5 comments

Comments

@maneesha
Copy link
Contributor

maneesha commented Nov 3, 2021

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).

@pbanaszkiewicz
Copy link
Contributor

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.

@maneesha
Copy link
Contributor Author

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?

@pbanaszkiewicz
Copy link
Contributor

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?

@maneesha
Copy link
Contributor Author

I will be discussing this with the workshop admin team.

@maneesha
Copy link
Contributor Author

maneesha commented May 9, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants