MudBlazor/MudBlazor
MudDatePicker required validation does not trigger on blur or submit
開放
#4,475 建立於 2022年4月22日
bughelp wanted
倉庫指標
- 星標
- (10,394 顆星)
- PR 合併指標
- (平均合併 6天 6小時) (30 天內合併 108 個 PR)
描述
Bug type
Component
Component name
MudDatePicker
What happened?
The "Required" and "RequiredError" properties are not working and do not trigger once "onblur" nor on "submit". It triggers only after data is entered and then deleted.
Expected behavior
Error messages to appear on submit or onblur
Reproduction link
https://try.mudblazor.com/snippet/cuGGOomcKjTFzdaD
Reproduction steps
- Run the project
- Click on the button
- Entered date
- Delete date
- Click the button again
Relevant log output
n/a
Version (bug)
6.0.10-dev.2
Version (working)
n/a
What browsers are you seeing the problem on?
Firefox, Chrome, Microsoft Edge
On what operating system are you experiencing the issue?
Windows
Pull Request
- I would like to do a Pull Request
Code of Conduct
- I agree to follow this project's Code of Conduct