formily icon indicating copy to clipboard operation
formily copied to clipboard

feat(core): 支持用户配置 validator 在哪些 pattern & display 下生效

Open liuweiGL opened this issue 5 months ago • 2 comments

Before submitting a pull request, please make sure the following is done...

  • [x] Ensure the pull request title and commit message follow the Commit Specific in English.
  • [x] Fork the repo and create your branch from master or formily_next.
  • [x] If you've added code that should be tested, add tests!
  • [x] If you've changed APIs, update the documentation.
  • [x] Ensure the test suite passes (npm test).
  • [x] Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.

Please do not delete the above content


What have you changed?

为 form 跟 field 添加 validatePatternvalidateDisplay 参数,允许用户自己决定 validator 生效的时机 https://github.com/alibaba/formily/discussions/3776

liuweiGL avatar Sep 05 '24 01:09 liuweiGL