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

datepicker组件 valueFormat:'YYYY-MM-DD' 且必填时验证无法通过 #511

Closed
Mr-Vash opened this issue Apr 21, 2021 · 0 comments
Closed

Comments

@Mr-Vash
Copy link

Mr-Vash commented Apr 21, 2021

1.required:true时 无法通过验证

2.改为下图验证规则时
1O573)JJ3BG4$ 4`3}~9ON4
尝试了 any array 都无法通过验证

3.在编辑数据的场景时,获取后台字符串数据后(如: birthday: 2012-4-4)渲染到datePicker(配置为valueFormat:"YYYY-MM-DD"的情况),不做改变直接提交,后台接收到的数据格式位Moment对象

@anncwb anncwb closed this as completed in cb35341 Apr 24, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Sep 23, 2024
ethan-wilson-1291 pushed a commit to ethan-wilson-1291/vue-vben-admin that referenced this issue Feb 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant