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 form submission for required multi-reference fields #1695

Merged
merged 3 commits into from
Nov 28, 2020

Conversation

ramonski
Copy link
Contributor

Description of the issue/feature this PR addresses

This PR removes the required attribute from the multi-reference widget and handles empty values correctly in the header table of samples

Current behavior before PR

The browser denied submission of required multi-reference fields, although references were selected

Desired behavior after PR is merged

The browser allows submission of multi-reference fields when they are required and have values set

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.

@ramonski ramonski requested a review from xispa November 28, 2020 20:14
@xispa xispa merged commit c9db1e0 into 2.x Nov 28, 2020
@xispa xispa deleted the fix-required-multi-reference-field-form-submission branch November 28, 2020 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants