Unplanned
Last Updated: 26 Oct 2020 10:34 by ADMIN
René
Created on: 26 Oct 2020 08:59
Category: UI for Blazor
Type: Feature Request
6
TextArea needs Width Parameter
We need to be able to change the width of the TextArea component.
1 comment
ADMIN
Svetoslav Dimitrov
Posted on: 26 Oct 2020 10:34

Hello René,

Currently, we did not expose the Width parameter, because there are planned stylistic changes to the component. For now, we suggest such changes be done by CSS, below I have made a quick example of how this could be achieved.

Code snippet:

<style>
    .myTextArea.k-input,
    .k-textarea {
        width: 140px
    }
</style>

<TelerikTextArea @bind-Value="@TextAreaValue" Class="myTextArea"></TelerikTextArea>


@code {
    public string TextAreaValue { get; set; } = String.Empty;
}

 

Regards,
Svetoslav Dimitrov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.