mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-02 03:57:38 +08:00
fix(module: textarea): replace wrong event (#1927)
This commit is contained in:
parent
4b04f09832
commit
cb4a6471c5
@ -33,13 +33,13 @@
|
||||
@if (Suffix != null)
|
||||
{
|
||||
<span class="@_warpperClassMapper.Class">
|
||||
<textarea @ref="Ref" @attributes="attributes" @onclick:stopPropagation="@StopPropagation" @onblur:stopPropagation="@StopPropagation"/>
|
||||
<textarea @ref="Ref" @attributes="attributes" @onchange:stopPropagation="@StopPropagation" @onblur:stopPropagation="@StopPropagation"/>
|
||||
@Suffix
|
||||
</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<textarea @ref="Ref" @attributes="attributes" @onclick:stopPropagation="@StopPropagation" @onblur:stopPropagation="@StopPropagation"/>
|
||||
<textarea @ref="Ref" @attributes="attributes" @onchange:stopPropagation="@StopPropagation" @onblur:stopPropagation="@StopPropagation"/>
|
||||
}
|
||||
<AntDesign.Text Style="float: right; pointer-events: none; white-space: nowrap; color: rgba(0, 0, 0, 0.45)"> @($"/ {MaxLength}")</AntDesign.Text>
|
||||
</div>
|
||||
@ -49,12 +49,12 @@ else
|
||||
@if (Suffix != null)
|
||||
{
|
||||
<span class="@_warpperClassMapper.Class">
|
||||
<textarea @ref="Ref" @attributes="attributes" @onclick:stopPropagation="@StopPropagation" @onblur:stopPropagation="@StopPropagation"/>
|
||||
<textarea @ref="Ref" @attributes="attributes" @onchange:stopPropagation="@StopPropagation" @onblur:stopPropagation="@StopPropagation"/>
|
||||
@Suffix
|
||||
</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<textarea @ref="Ref" @attributes="attributes" @onclick:stopPropagation="@StopPropagation" @onblur:stopPropagation="@StopPropagation"/>
|
||||
<textarea @ref="Ref" @attributes="attributes" @onchange:stopPropagation="@StopPropagation" @onblur:stopPropagation="@StopPropagation"/>
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user