My:editor-text

出自Manyou开发者指南

跳转到: 导航, 搜索

描述

创建一个文本框,类似于 type 为 text 形式的 <input>,本标签必须为 my:editor 标签的子标签。


属性

必选性参数名类型描述
可选 label string 指定显示在文本框左边的文字
name string 文本框 name 属性的值
value string 文本框的默认填写值
maxlength int 允许文本框中输入的最大字符数


范例

<my:editor action="?do-it" labelwidth="100"> <my:editor-text label="标题" name="title" value=""/> <my:editor-buttonset> <my:editor-button value="添加"/> <my:editor-button value="重置"/> <my:editor-cancel /> </my:editor-buttonset> </my:editor>
Image:MYML_EditorText.jpg
个人工具
接口文档