Forum

Accueil » Alloy UI » English

Vue combinée Vue Plate Arborescence
Sujets [ Précédent | Suivant ]
toggle
Prasad Dhamne
AUI FormValidator Issue when used for <aui:select> tag
10 juillet 2014 23:18
Réponse

Prasad Dhamne

Rang: New Member

Publications: 3

Date d'inscription: 6 mars 2013

Publications Récentes

Hi All
We are facing an issue with AUI FormValidator when used along with <aui:select> tag. We are using Liferay tomcat 6.1 GA3 EE

If you apply required=true rule via FormValidator for <aui:select> tag then it won't validate and form get submitted. This issue is not reproducible if you use tab on the same form to select dropdown value. Issue is with all recent browsers like IE10, FF, Chrome.

In order to confirm this behavior we have created a demo portlet which was tested on clean tomcat bundle. Please find attached Validationtest-portlet for that.
Steps to reproduce
1. Deploy the portlet and drop it on the page
2. Directly try to submit the form. If you observe here validation doesn't get triggered on select box instead it checks the validation on input field next to select box.

Any help is appreciated.

Thanks
Prasad
Pièces jointes: ValidationTest-portlet.zip (25,4k)
Prasad Dhamne
RE: AUI FormValidator Issue when used for <aui:select> tag
14 août 2014 03:02
Réponse

Prasad Dhamne

Rang: New Member

Publications: 3

Date d'inscription: 6 mars 2013

Publications Récentes

This is a liferay bug and received patch for it.
Thanks
Prasad
Mayur Patel
RE: AUI FormValidator Issue when used for <aui:select> tag
21 août 2014 22:40
Réponse

Mayur Patel

Rang: Expert

Publications: 341

Date d'inscription: 17 novembre 2010

Publications Récentes

Hi Prasad,

You mean to say that FormValidator does not work for <aui:select> tag. Can you please share patch for the same if possible?

Thanks.
Prasad Dhamne
RE: AUI FormValidator Issue when used for <aui:select> tag
30 octobre 2014 03:29
Réponse

Prasad Dhamne

Rang: New Member

Publications: 3

Date d'inscription: 6 mars 2013

Publications Récentes

Mayur,

I got the Hot Fix as liferay-hotfix-1162-6130. I will search for patch file & let you know the fix.
Thanks
Prasad