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

IBX-8350: Text line fields which is not marked as required, but has a minimum length constraint set, is basically treated as required #2122

Conversation

vidarl
Copy link
Member

@vidarl vidarl commented Jul 2, 2024

Question Answer
Tickets IBX-8350
Bug fix? yes
New feature? no
BC breaks? no
Tests pass? yes
Doc needed? no
License GPL-2.0

When input is checked for length constrains in JS, it is not taken into account whatever the field is empty or not. ( As long as the field is not required, it is okay that the value is empty even if it has a constrain on minimum characters )

This PR is a re-make of #2120 which closed due to a comma in branch name which caused problems for CI

PR 2120 is already reviewed and approved by QA

Checklist:

  • Coding standards ($ composer fix-cs)
  • Ready for Code Review

… minimum length constraint set, is basically treated as required
Copy link

sonarcloud bot commented Jul 2, 2024

@dew326 dew326 merged commit 81d2231 into 2.3 Jul 2, 2024
26 checks passed
@dew326 dew326 deleted the IBX-8350_fix_js_valiation_of_minimal_length_constrain_for_text_line_fields branch July 2, 2024 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants