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

CMD-100: Form Plugin, Required Multi-Checkbox is Unreasonable #821

Open
R-Tomas-Gonzalez opened this issue Mar 24, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@R-Tomas-Gonzalez
Copy link
Collaborator

R-Tomas-Gonzalez commented Mar 24, 2024

Expectation


Users should be able to submit one or more options in a required multi-checkbox.

Background


Currently, when a developer/author/designer makes a required multi-checkbox, html requires the user to check all of the checkboxes in order to move forward. This eliminates the purpose of a multi-checkbox.

Dev Notes


This is a bug with HTML, which we can solve with JavaScript.

Locally Testing & Developing


Creating a Test

  1. Follow the ReadMe to get setup with the Core-CMS repository and program
  2. Sign in to the CMS using localhost:8000/admin, with the username and password you created
  3. While editing a blank page, add a form plugin by using the hamburger menu on the top right side of the window
  4. In the form plugin modal, give it a name, then scroll down to "Add another field"
  5. Edit the Text Field to be a Multi Checkbox
  6. Give it four(4) choices

Locally Developing

  1. At some point remove the error for admin and warning for user blocks of code, here: taccsite_ui/patterns/core-styles/components/django-cms-forms.hacks.css
  2. Developer may have to dig a little deeper on how to adjust the django form widget/plugin

Visual Example of Issue


CMD-100.mov
@wesleyboar wesleyboar added the bug Something isn't working label Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants