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 disable required constraint for freetext and headline field #380

Merged
merged 3 commits into from
Jun 6, 2024

Conversation

oprichnik
Copy link
Contributor

@oprichnik oprichnik commented May 10, 2024

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #379
Related issues/PRs #379
License MIT

What's in this PR?

Checking field type before adding required constraint to avoid required constraint on free text fields.

EDIT: Maybe a easier way would be to reset all constraints for this type ?
image

@alexander-schranz alexander-schranz merged commit cc80e6e into sulu:2.5 Jun 6, 2024
7 checks passed
@alexander-schranz alexander-schranz changed the title Fix disable required constraint for freetext field Fix disable required constraint for freetext and headline field Jun 6, 2024
@alexander-schranz
Copy link
Member

@oprichnik thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Freetext fields have required constraints
2 participants