type

the type of the input

string type;

Values

  • "text"
  • "textarea"
  • Example

    {
        view:"texthighlight",
        height:200,
        label:"Multiline",
        type:"textarea",
        value:"Countries I want to visit:\n\n#Albania #Bhutan #Colombia",
        suggest:{
           view:"mentionsuggest", data:countries, symbol:"#"
        }
    }


    Default value:

    "text"
    Details
    • "text" - one-line input field
    • "textarea" - multi-line input field
    See also
    Back to top