0.0.7 • Published 6 years ago

@beisen-cmps/ux-m-platform-arrow-form-item v0.0.7

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
6 years ago

组件使用、扩展文档

ArrowItem选择类表单项

用于选择类表单

UI规则

  1. 编辑态
    • 标题最大宽度为112px超出折行
    • 内容为剩余宽度,有内容时显示内容,无内容显示帮助文字
    • 如此项为必填,有内容时不显示必填标识,反之显示
    • 此项填写的值验证不通过时,下划线变为红色
    • 点击该项时弹出相应组件
  2. 只读状态,按只读规则显示

arrow

API

ArrowItem props

namedescriptiontypedefault
cls自定义container cssString''
style自定义container styleObject{}
label标题String''
value内容String''
isReadOnly只读Booleanfalse
required必填Booleanfalse
placeholder帮助文字String点击选择
errorMsg错误信息String''
onClickForm点击此项Function(e)