Pathfield UI Granite validation
Description
Activity
Show:
Stefan Seifert April 30, 2021 at 2:20 PM
Henry Kuijpers April 28, 2021 at 1:45 PM
Any ETA for release 1.7.6?
Stefan Seifert April 27, 2021 at 6:53 PM
should work in version 1.7.6
https://github.com/wcm-io/wcm-io-wcm/commit/c52e7633717ac0685ce6744dd717a4b6572f70bd
Fixed
Details
Details
Assignee
Unassigned
UnassignedReporter
Henry Kuijpers
Henry KuijpersComponents
Fix versions
Affects versions
Priority
Created April 26, 2021 at 9:11 AM
Updated April 30, 2021 at 2:20 PM
Resolved April 27, 2021 at 6:53 PM
Currently, pathfield validation does not seem to be working, due to the fact that all validators seem to assume that the element that contains the validation attributes, is also the element that should be validated: https://github.com/wcm-io/wcm-io-wcm/blob/develop/ui/granite/src/main/webapp/app-root/clientlibs/io.wcm.ui.granite.validation/js/validation.js
This fails to be true for the pathfield though: The validation properties are put on the wrapping div around the input-field. The input-field itself does not get the validation attributes.
Can we make the validation work for pathfield as well?