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

USER STORY: Choices default #31

Closed
3 tasks done
MoniPar opened this issue Feb 26, 2023 · 0 comments
Closed
3 tasks done

USER STORY: Choices default #31

MoniPar opened this issue Feb 26, 2023 · 0 comments
Labels
1 Story point Should Have Add significant value but not vital
Milestone

Comments

@MoniPar
Copy link
Owner

MoniPar commented Feb 26, 2023

As a developer, I can add an empty default choice so that the user is alerted when trying to submit an appointment without selecting the type and time.

Acceptance Criteria

  1. The Appointment form displays '------' on the Choices fields.
  2. When user tries to submit the form without selecting an appropriate choice, they are alerted to fill in the required fields.
  3. The form submits successfully when all required fields are filled in.

Tasks

  • Add an empty tuple in constants.py
  • Edit the default attribute in models.py
  • Test to see if form displays and submits without selecting an appropriate choice
@MoniPar MoniPar added 1 Story point Should Have Add significant value but not vital labels Feb 26, 2023
@MoniPar MoniPar added this to the Appointments milestone Feb 26, 2023
@MoniPar MoniPar closed this as completed Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 Story point Should Have Add significant value but not vital
Projects
Development

No branches or pull requests

1 participant