A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.dhtmlx.com/suite/form/textarea/ below:

Website Navigation


JavaScript Form - Textarea | DHTMLX Suite 9 Docs

Textarea

A control that allows a user to enter a simple multi-line text.

Related sample: Form. All controls

Related sample: Form. Textarea

Adding Textarea​

You can easily add a Textarea control during initialization of a form:

const form = new dhx.Form("form_container", {
rows: [
{
type: "textarea",
name:"textarea",
label: "textarea",
labelWidth: "70px",
value: "Some nice text",
width:400
}
]
});
Properties​

View the full list of configuration properties of the Textarea control.

Working with Textarea​

You can manipulate a Textarea control by using methods or events of the object returned by the getItem() method.

For example, you can get the value of the control:

const value = form.getItem("textarea").getValue();
Methods​

Check the full list of methods of the Textarea control.

Events​

Check the full list of events of the Textarea control.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4