Skip to content

fix(forms): Make mandatory fields optional in the editor#1067

Merged
Rom1-B merged 1 commit into
mainfrom
fix/form-editor-handle-mandatory-fields
Oct 30, 2025
Merged

fix(forms): Make mandatory fields optional in the editor#1067
Rom1-B merged 1 commit into
mainfrom
fix/form-editor-handle-mandatory-fields

Conversation

@ccailly

@ccailly ccailly commented Oct 30, 2025

Copy link
Copy Markdown
Contributor

Checklist before requesting a review

Please delete options that are not relevant.

  • I have performed a self-review of my code.

Description

When an additional field is mandatory and is used in a Field type question, its mandatory attribute interferes with the default value functionality (which is optional) of the form editor.

This fix ensures that the mandatory nature of the field is always negative when editing a question.

@ccailly ccailly self-assigned this Oct 30, 2025

@Rom1-B Rom1-B left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please update CHANGELOG

@ccailly

ccailly commented Oct 30, 2025

Copy link
Copy Markdown
Contributor Author

Please update CHANGELOG

Is this necessary? It's a fix following PR #1060, I think this PR will end up in the same version.

@Rom1-B

Rom1-B commented Oct 30, 2025

Copy link
Copy Markdown
Contributor

It wasn't specified, but now that it is in the PR, it is indeed unnecessary.

@Rom1-B Rom1-B merged commit ea74807 into main Oct 30, 2025
3 checks passed
@Rom1-B Rom1-B deleted the fix/form-editor-handle-mandatory-fields branch October 30, 2025 15:02
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.

3 participants