is false;
prevents valiation of Palette component
[ https://issues.apache.org/jira/browse/TAP5-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13669929#comment-13669929 ]
Howard M. Lewis Ship commented on TAP5-2122:
--------------------------------------------
Did the one line change in a local patched copy in my application; seems to work great.
> visible() on empty <div> is false; prevents valiation of Palette component
> --------------------------------------------------------------------------
>
> Key: TAP5-2122
> URL: https://issues.apache.org/jira/browse/TAP5-2122
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.4
> Reporter: Howard M. Lewis Ship
> Assignee: Howard M. Lewis Ship
> Priority: Blocker
> Labels: jquery, validation
>
> Noticed that required validation for Palette was not working; a little debugging shows that the validation disabled because the <select> element is not deepVisible().
> The enclosing div.t-palette is not jQuery.is(":visible"); that's because it has no text content (I believe), just a hidden field and nested divs.
> The correct solution is that visible() should be based on the CSS "display" property not being "hidden".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira