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

Conditionally allow requests without text #1764

Merged
merged 3 commits into from
Dec 15, 2023

Conversation

mattwr18
Copy link
Contributor

As explained in the issue 👇, we want to permit sending simply an image file without any caption; however, we want to continue having validations for sending a text message without text.

Closes #1754

- if there is at least one file remove the required attr, set it back if
  the file is removed
- I wanted to test that a User could not create a request without text,
  but decided that I could add this to the sending images system spec
since I also wanted to test that added a file would remove the frontend
validations
@mattwr18 mattwr18 merged commit a1e8ec2 into main Dec 15, 2023
1 check passed
@mattwr18 mattwr18 deleted the 1754_conditionally_alLow_request_without_text branch December 15, 2023 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Conditionally allow request text to be blank
1 participant