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

Fix report form, allow saving as draft without filling required fields #4428

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

theskumar
Copy link
Member

Right now, the report form validates for the required fields when saving
as draft.

This updates the behaviour to not validate the required fields, similar
to application submision forms.

Right now, the report form validates for the required fields when saving
as draft.

This updates the behaviour to not validate the required fields, similar
to application submision forms.
@theskumar theskumar self-assigned this Mar 3, 2025
(ReportEditForm,),
fields,
)
return the_class
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📓 This is not needed as the Parent class "BaseStreamForm" implement this function that makes use of submission_form_class class property.

@frjo frjo added Type: Bug Bugs! Things that are broken :-/ Type: Patch Mini change, used in release drafter labels Mar 5, 2025
@frjo frjo merged commit c48389d into main Mar 5, 2025
7 checks passed
@theskumar theskumar deleted the fix/report-save-as-draft branch March 5, 2025 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Bugs! Things that are broken :-/ Type: Patch Mini change, used in release drafter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants