fix: 文本框无法录入汉字问题
This commit is contained in:
parent
3fd62056ba
commit
e479aa590a
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
<div class="@($"form-group {ColumnClass}")">
|
<div class="@($"form-group {ColumnClass}")">
|
||||||
<label class="control-label" for="@Id">@DisplayName</label>
|
<label class="control-label" for="@Id">@DisplayName</label>
|
||||||
<input Id="@Id" data-original-title="@ErrorMessage" class="@($"form-control {CssClass} {ValidCss}")" placeholder="@PlaceHolder" maxlength=@MaxLength type="@InputType" @bind="Value" @oninput="EventCallback.Factory.CreateBinder<string>(this, __value => CurrentValueAsString = __value, CurrentValueAsString)" />
|
<input Id="@Id" data-original-title="@ErrorMessage" class="@($"form-control {CssClass} {ValidCss}")" placeholder="@PlaceHolder" maxlength=@MaxLength type="@InputType" value="@BindConverter.FormatValue(CurrentValue)" @oninput="EventCallback.Factory.CreateBinder<string>(this, __value => CurrentValueAsString = __value, CurrentValueAsString)" />
|
||||||
<CascadingValue Value="this" IsFixed="true">
|
<CascadingValue Value="this" IsFixed="true">
|
||||||
@ChildContent
|
@ChildContent
|
||||||
</CascadingValue>
|
</CascadingValue>
|
||||||
|
|
Loading…
Reference in New Issue