forked from didi/cube-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature async validate (Validator and Form) (didi#155)
* async validator init * form async validate * update(demo): validator example * fix form show error msg when layout is standard * validator async validate * update(demo): validator async validate * update(demo): set global Promise * util add cb2PromiseWithResolve * ad util debounce * form pending state * validator validating & validated * validator only async validate trigger validating event * fix upload should watch value change * debounce support initValue as result * form async validate * update(test): form async validate tests * update(demo): form add async cases * update(doc): validator async * validator: validate cb with valid argument * validate debounce time check * update(doc): form async validate * form event name * update(doc): form sync example * fix form submit & reset event * update(test): form submit * validator: support function rule & validated event * update(doc): validator * update(test): validator async * form adapt validator * update(test): validator content test * validator: clean code * validator-rules len * update(doc): validator async * update(test): validator * update(test): validator * add classic and fresh style * clean code
- Loading branch information
Showing
25 changed files
with
1,952 additions
and
511 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.