Skip to content

Commit

Permalink
HxInputDate_Revalidation_Test - dotnet/aspnetcore#60334
Browse files Browse the repository at this point in the history
  • Loading branch information
hakenr committed Feb 12, 2025
1 parent f50fa07 commit 27744de
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@page "/HxInputDate_Revalidation"
@rendermode InteractiveServer

https://github.com/dotnet/aspnetcore/issues/60334
<ol>
<li>Type some invalid characters into the input => parsing error</li>
<li>Click <i>Set valid date</i> button => ?new value not accepted?</li>
</ol>


<div class="col-lg-3">
<HxInputDate Label="Date" @bind-Value="_value" CalendarIcon="BootstrapIcon.Calendar" />
<HxButton Text="Set valid value" OnClick="@(() => _value = DateTime.Today)" Color="ThemeColor.Primary" />
</div>

@code {
public DateTime _value;
}

0 comments on commit 27744de

Please sign in to comment.