Textarea

A multiline text field.

scheduler.locale.labels.section_text = 'Text';
 
scheduler.config.lightbox.sections = [
    { name:"text", height:50, map_to:"text", type:"textarea", focus:true },
    { name:"time", height:72, type:"time", map_to:"auto"}
];

Related sample:  Basic initialization

Initialization

One Textarea control is added to the lightbox by default. To add another one, follow these steps:

  1. Add the section to the lightbox configuration:
    scheduler.config.lightbox.sections = [
        { name:"text", ... },
        { name:"location", height:50, map_to:"location", type:"textarea"},
        { name:"time", ...}
    ];
  2. Set the label for the section:
    scheduler.locale.labels.section_location = "Location";

Related sample:  Map view

Properties

The following properties are mostly important and commonly set for the 'textarea' control (see the full list here):

Back to top