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

Form required value update for non required field types. #353

Open
Skullfox opened this issue Feb 28, 2023 · 1 comment
Open

Form required value update for non required field types. #353

Skullfox opened this issue Feb 28, 2023 · 1 comment

Comments

@Skullfox
Copy link

Q A
Bug? Yes
New Feature? no
Bundle Version 2.5.0
Sulu Version 2.5.1

Actual Behavior

Changing a form field with checked required checkbox to any other field type like free text, with no required checkbox, dont update the required property after saving.

Steps to Reproduce

Create new form field with checked required and save.
image
Change field to Free Text and save.
image
The form field now still contains the required property with true which breaks the form.
image

@hxrriet02
Copy link

I'm having the same issue. The error on the client side on submit is quite unclear too which field it is, just saying 'This value should not be blank.'.

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

No branches or pull requests

2 participants