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

[FEATURE] Allow to set validator only for backend in EXT:forms #747

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

twoldanski
Copy link
Collaborator

When backendOnly=1 flag instructs default decorator to hide validator for frontend output

Example usage:

validators:
  - identifier: NotEmpty
    errorMessage: 1221560910
    backendOnly: 1

@coveralls
Copy link

coveralls commented Jul 9, 2024

Pull Request Test Coverage Report for Build 9855977365

Details

  • 6 of 7 (85.71%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.07%) to 65.849%

Changes Missing Coverage Covered Lines Changed/Added Lines %
Classes/Form/Decorator/AbstractFormDefinitionDecorator.php 6 7 85.71%
Totals Coverage Status
Change from base Build 9855957232: 0.07%
Covered Lines: 993
Relevant Lines: 1508

💛 - Coveralls

When backendOnly=1 flag instructs default decorator to hide validator for frontend output

Example usage:
```
validators:
  - identifier: NotEmpty
    errorMessage: 1221560910
    backendOnly: 1
```
@lukaszuznanski lukaszuznanski merged commit 44ffec9 into master Jul 9, 2024
8 checks passed
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