Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(form): blur trigger support #1051

Merged
merged 5 commits into from
Jul 1, 2022
Merged

Conversation

k1nz
Copy link
Contributor

@k1nz k1nz commented Jun 22, 2022

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

#1048

💡 需求背景和解决方案

📝 更新日志

  • fix(Form): 修复 number 规则校验不生效的问题

  • feat(Form): 新增校验触发方式 trigger: 'blur'

  • feat(Form): 现在 FormItem.labelstring 类型时, Form.errorMessage 模板中的 ${name} 会被替换为 FormItem.label 属性;当 label 属性为 slot/function 时,${name} 会被替换为 FormItem.name 属性

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@github-actions
Copy link
Contributor

github-actions bot commented Jun 23, 2022

完成

@k1nz k1nz changed the title [WIP] feat(form): blur trigger support feat(form): blur trigger support Jun 25, 2022
@uyarn uyarn merged commit e3f5508 into Tencent:develop Jul 1, 2022
@github-actions github-actions bot mentioned this pull request Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants