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

Improved: Use browser validation for input element, support types #862

Merged
merged 9 commits into from
Dec 16, 2024

Conversation

florianMo
Copy link
Contributor

Improved:

  • Rely on browser native validation for inputs, using the "required" attribute, instead of jQuery Validation plugin.
  • Support "number", "email", "url" and "tel" input types. Support "pattern" attribute for input types that supports it.
  • Add "required" attribute on password fields.
  • Add "required" attribute to inputs in login forms

Fixed:

  • Fix boolean attributes uses in FTL macros ("readonly", "required").
  • Fix required behavior when "required-field-style" is not empty.

(OFBIZ-13183)

Thanks: Nereide team

Rely on browser native validation for inputs, using the "required"
attribute, instead of jQuery Validation plugin.
Support "number", "email", "url" and "tel" input types.
Support "pattern" attribute for input types that supports it.
Fix boolean attributes uses in FTL macros ("readonly", "required").
Fix required behavior when "required-field-style" is not empty.
Add "required" attribute on password fields.
Add "required" attribute to inputs in login forms

OFBIZ-13183
You can't have both type="xs:string" and a nested complexType for the same element.

OFBIZ-13183
Even if we defined a "required-field-style" attribute

OFBIZ-13183
Copy link

@JacquesLeRoux JacquesLeRoux merged commit 79e55dd into apache:trunk Dec 16, 2024
7 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.

2 participants