@beisen-cmps/ux-m-platform-arrow-form-item

0.0.7 • Public • Published

组件使用、扩展文档

ArrowItem选择类表单项

用于选择类表单

UI规则

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

arrow

API

ArrowItem props

name description type default
cls 自定义container css String ''
style 自定义container style Object {}
label 标题 String ''
value 内容 String ''
isReadOnly 只读 Boolean false
required 必填 Boolean false
placeholder 帮助文字 String 点击选择
errorMsg 错误信息 String ''
onClickForm 点击此项 Function(e)

Package Sidebar

Install

npm i @beisen-cmps/ux-m-platform-arrow-form-item

Weekly Downloads

2

Version

0.0.7

License

ISC

Unpacked Size

58.3 kB

Total Files

12

Last publish

Collaborators

  • beisencorp