I would like to be able to show or hide a character counter like in this demo by using a boolean parameter.
<AdminEdit>
Currently, this could be achieved as shown in this demo or from this example from the documentation:
<label for="myCustomTextAreaId">My Telerik TextArea</label>
<TelerikTextArea @bind-Value="@TextAreaValue"
Id="myCustomTextAreaId"
Name="myCustomTextAreaId"
PlaceHolder="Enter some Information"
AutoComplete="true"
TabIndex="2"
AutoSize="true">
</TelerikTextArea>
<div class="k-counter-container">
<span>@TextAreaValue.Length</span><span>/200</span>
</div>
@code {
public string TextAreaValue { get; set; } = String.Empty;
}
</AdminEdit>