平台通用支持错误提示的输入框,常用于左边文字,右边输入框的场景。

shorcut

dec.label.editor.item

 

options

属性描述默认值是否必选
text文字 
textWidth文本宽度,不需要文本设置为0

115

editorWidth输入框宽度300
errorTop错误离输入框的高度0
el自定义输入框内容 

其余属性同bi.editor

 

functions

方法名描述参数
getValue获取输入框的值 
setValue设置输入框的值 
showError显示的错误提示 
hideError隐藏错误提示 
focus获得焦点 

 

events

同BI.Editor