MudBlazor/MudBlazor

MudDatePicker required validation does not trigger on blur or submit

オープン

#4,475 opened on 2022/04/22

 (2 件のコメント) (1 件のリアクション) (1 人の担当者)C# (1,631 件のフォーク)batch import
bughelp wanted

Repository metrics

Stars
 (10,394 個のスター)
PR merge metrics
 (平均マージ 6d 6h) (30d で 108 merged PRs)

説明

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

  1. Run the project
  2. Click on the button
  3. Entered date
  4. Delete date
  5. 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

コントリビューターガイド