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:
Attribute | Description | Default | Require |
---|---|---|---|
multiline | Adjust the number of lines of the text field | 1 | no |
Setting
{
id: 'text',
type: 'text',
label: 'Text',
default: "Hello World",
multiline:5
},
Giao diện
When accessing the value of a text type setting, data is returned as one of the following:
{settings.text}
Output
"Hello World"