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

Dynamic Form allows submitting when required Fields with Multiple-Selection get removed #1489

Closed
SmarterJB opened this issue Mar 14, 2023 · 1 comment · Fixed by #1520
Closed
Labels
status:fixed-next-drop Issue will be fixed in upcoming release.
Milestone

Comments

@SmarterJB
Copy link
Contributor

Category

[ ] Enhancement

[ x ] Bug

[ ] Question

Version

Please specify what version of the library you are using: v3.13.0

Expected / Desired Behavior / Question

If I remove the value of a required field which allows multiple selections, the Dynamic Form should display an error message at the required field and not allow saving the form.

Observed Behavior

Currently you can just delete the values of a required field which allows multiple selections and it will not show the missing value and save the empty value to the list item.

I have already fixed the problem, and a PR is on the way!

Steps to Reproduce

Create a list with a field that allows multiple selections (e.g. Multi Select Field) and make it required. Now you can add a value to the field and then open the Dynamic Form, and you be able to remove the value from the required field and then save the list item, without getting any error message or response about the required field.

Cheers!

@ghost
Copy link

ghost commented Mar 14, 2023

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:fixed-next-drop Issue will be fixed in upcoming release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants