EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
October 16, 2025, 06:01:44 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for React
>
Form validate inconsistency
Pages: [
1
]
« previous
next »
Print
Author
Topic: Form validate inconsistency (Read 7943 times)
chrwei
Full Member
Posts: 219
Form validate inconsistency
«
on:
October 30, 2019, 01:35:04 PM »
firstly, the docs don't mention that the form validate() method has a callback with the error list as a parameter, but the examples do show this.
next, this callback errors object only has the rules that are not passed, where the onValidate event's error object has all rules, passed or not, and the rules that passed are each an empty array.
shouldn't these be the same? it would be convenient if the onValidate event matched the validate() method.
Logged
jarry
Administrator
Hero Member
Posts: 2300
Re: Form validate inconsistency
«
Reply #1 on:
October 31, 2019, 02:02:26 AM »
This issue has been fixed. The errors returned from 'validate' method and 'onValidate' event are same now. Please update to the newest version.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...