When setting Multiline=true, CssClass and HtmlAttributes properties are assigned to to the span wrapping the textarea and therefore the textarea does not respect them. I am trying to set the height of the multiline textbox.
First I tried styling like this:
<SfTextBox Multiline="true" CssClass="text-multiline".....
And the style:
.text-multiline {
height: 300px;
}
That had no effect even though inspecting the element I can see the surrounding span carrying the class of "text-multiline" and having the height of 300px;
I then tried to add HtmlAttributes="@(new Dictionary<string,object> { { "style", "height: 300px;"} }) to my SfTextBox component. Once again, the attribute got set to the span surrounding the textarea and had no effect on the textarea's height.
This is a pretty serious bug. For now I am switching to native Blazor InputTextArea component. Please fix in the next release.