Forums de discussion

AUI FormValidator Issue when used for <aui:select> tag

Prasad Dhamne, modifié il y a 9 années.

AUI FormValidator Issue when used for <aui:select> tag

New Member Publications: 3 Date d'inscription: 07/03/13 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
Prasad Dhamne, modifié il y a 9 années.

RE: AUI FormValidator Issue when used for <aui:select> tag

New Member Publications: 3 Date d'inscription: 07/03/13 Publications récentes
This is a liferay bug and received patch for it.
Thanks
Prasad
thumbnail
Mayur Patel, modifié il y a 9 années.

RE: AUI FormValidator Issue when used for <aui:select> tag

Expert Publications: 358 Date d'inscription: 17/11/10 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, modifié il y a 9 années.

RE: AUI FormValidator Issue when used for <aui:select> tag

New Member Publications: 3 Date d'inscription: 07/03/13 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