Skip to main content

Text field

Setting type : text xuất ra một trường văn bản một dòng. Ngoài các thuộc tính tiêu chuẩn Standard attributes của cài đặt đầu vào, cài đặt loại văn bản còn có thuộc tính sau:

AttributeDescriptionDefaultRequire
multilineAdjust the number of lines of the text field1no

Setting

    {
id: 'text',
type: 'text',
label: 'Text',
default: "Hello World",
multiline:5
},

Giao diện

alt

When accessing the value of a text type setting, data is returned as one of the following:

{settings.text}

Output

"Hello World"