You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Duto (JIRA)" <ji...@apache.org> on 2019/08/07 09:48:00 UTC

[jira] [Updated] (WICKET-6694) Let's manage the javascript of AutoLabelMarker when there is a error on formComponent

     [ https://issues.apache.org/jira/browse/WICKET-6694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Duto updated WICKET-6694:
-------------------------
    Attachment: is_valid.gif

> Let's manage the javascript of AutoLabelMarker when there is a error on formComponent
> -------------------------------------------------------------------------------------
>
>                 Key: WICKET-6694
>                 URL: https://issues.apache.org/jira/browse/WICKET-6694
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-core
>    Affects Versions: 8.5.0
>         Environment: Windows 10, java 8
>            Reporter: Duto
>            Priority: Trivial
>         Attachments: is_valid.gif
>
>
> Hello,
> It will be very nice, if we could modify the javascript 'Wicket.DOM.toggleClass('%s', '%s', %s);' of AutoLabelMarker when there is an error on composant.
> I use fomantic UI for css library and when a field has an error I need to set the error class not to the label but to a closest of label/component :
>  
> like this :
> {{<div class="field *errror*">}}{{<label wicket:for="name">name</name>}}{{<input wicket:id="name" type="text"/>}}{{</div>}}
> Best regards
> Duto
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)