留言板

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

Prasad Dhamne,修改在9 年前。

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

New Member 帖子: 3 加入日期: 13-3-7 最近的帖子
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,修改在9 年前。

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

New Member 帖子: 3 加入日期: 13-3-7 最近的帖子
This is a liferay bug and received patch for it.
Thanks
Prasad
thumbnail
Mayur Patel,修改在9 年前。

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

Expert 帖子: 358 加入日期: 10-11-17 最近的帖子
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,修改在9 年前。

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

New Member 帖子: 3 加入日期: 13-3-7 最近的帖子
Mayur,

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