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

> 平台移动端箭头选择类表单项

Latest version **0.0.7** (published 2018-08-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install @beisen-cmps/ux-m-platform-arrow-form-item
pnpm add @beisen-cmps/ux-m-platform-arrow-form-item
yarn add @beisen-cmps/ux-m-platform-arrow-form-item
bun add @beisen-cmps/ux-m-platform-arrow-form-item
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2018-08-08 |
| First published | 2018-06-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 57 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | beisen |
| Maintainers | beisencorp |
| Keywords | beisen, react-component, es6 |

## Links

- npm: https://www.npmjs.com/package/@beisen-cmps/ux-m-platform-arrow-form-item
- Repository: git@gitlab.beisencorp.com:ux-share-platform/ux-m-platform-arrow-form-item
- npm.io page: https://npm.io/package/@beisen-cmps/ux-m-platform-arrow-form-item

## Dependencies (7)

- [react](https://npm.io/package/react.md) ^15.6.2
- [react-dom](https://npm.io/package/react-dom.md) ^15.6.2
- [classnames](https://npm.io/package/classnames.md) ^2.1.3
- [react-tap-event-plugin](https://npm.io/package/react-tap-event-plugin.md) ^2.0.1
- [@beisen-cmps/ux-m-platform-icon](https://npm.io/package/@beisen-cmps/ux-m-platform-icon.md)
- [@beisen-cmps/ux-m-platform-label](https://npm.io/package/@beisen-cmps/ux-m-platform-label.md)
- [@beisen-cmps/ux-m-platform-readonly-form-item](https://npm.io/package/@beisen-cmps/ux-m-platform-readonly-form-item.md)

## Recent versions

- 0.0.7 (latest) — 2018-08-08
- 0.0.6 — 2018-08-08
- 0.0.5 — 2018-08-07
- 0.0.4 — 2018-08-06
- 0.0.3 — 2018-08-01
- 0.0.2 — 2018-07-30
- 0.0.1 — 2018-06-20

## README

## 组件使用、扩展文档
# ArrowItem选择类表单项

用于选择类表单

### UI规则

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

![arrow](img/arrow.png)

### 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) |         |

---
_Source: https://npm.io/package/@beisen-cmps/ux-m-platform-arrow-form-item · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
