Skip to content

Commit

Permalink
Fix @onchange event not firing for TextArea
Browse files Browse the repository at this point in the history
  • Loading branch information
Layoric committed Feb 28, 2024
1 parent c321f5b commit 5282efa
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -7,7 +7,7 @@
<label for=@Id class=@ClassNames(TextAreaInput.LabelClasses, LabelClass)>@UseLabel</label>
}
<div class="mt-1 relative rounded-md shadow-sm">
<textarea id=@Id name=@Id @bind="CurrentValue" placeHolder=@UsePlaceholder @attributes="IncludeAttributes"
<textarea id=@Id name=@Id @bind-value="CurrentValue" @bind-value:event="oninput" placeHolder=@UsePlaceholder @attributes="IncludeAttributes"
class=@ClassNames(TextAreaInput.InputBaseClasses,
CssClass(TextAreaInput.InputValidClasses,TextAreaInput.InputInvalidClasses)) />
@if (HasErrorField)
Expand Down

0 comments on commit 5282efa

Please sign in to comment.