@sishuguojixuefu/react-native-form
私塾动态表单组件
Last updated 5 months ago by youngjuning .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @sishuguojixuefu/react-native-form 
SYNC missed versions from official npm registry.

@sishuguojixuefu/react-native-form

私塾动态表单项目

特性

  • 根据特定的领域模型,自动匹配 Form 表单组件,自动映射数据
  • 基于 rc-form 实现自动表单校验
  • 支持以 children 的形式扩展组件

安装

如果要使用内置的组件,请确保安装并配置了 @sishuguojixuefu/antd-mobile-rn、react-native-image-crop-picker、react-native-image-zoom-viewer

$ yarn add @sishuguojixuefu/react-native-form

内置组件

自定义内置组件的开发示例:http://t.cn/AijGYRMJ

  • Input: 普通的输入框
  • NumberInput: 数字输入框
  • SsSelect: 选择器
  • SsMultiSelect: 多选选择器
  • SsDate: 日期选择器
  • SsDateRange: 日期范围选择器
  • SsImagePicker: 图片选择组件
  • SsDescription: 描述组件
  • SsAmount: 金额输入组件
  • SsRating: 星星评分组件
  • Switch: 开关组件

一些特定业务组件无法内置,这种业务组件的开发请参考:http://t.cn/AijGjjVs

属性

属性 说明 类型 默认值
ref ref={ref => {this.form = ref} Function -
items 动态表单渲染的依据,结构需严格遵守 FormItemsPropsType FormOptionPropsType[] -
noBorder 是否显示 border boolean true
style 样式 object -

Current Tags

  • 1.0.2                                ...           latest (5 months ago)

103 Versions

  • 1.0.2                                ...           5 months ago
  • 1.0.1                                ...           5 months ago
  • 1.0.0                                ...           5 months ago
  • 0.10.1                                ...           5 months ago
  • 0.10.0                                ...           5 months ago
  • 0.9.11                                ...           5 months ago
  • 0.9.10                                ...           5 months ago
  • 0.9.9                                ...           5 months ago
  • 0.9.8                                ...           5 months ago
  • 0.9.7                                ...           5 months ago
  • 0.9.6                                ...           5 months ago
  • 0.9.5                                ...           5 months ago
  • 0.9.4                                ...           5 months ago
  • 0.9.3                                ...           5 months ago
  • 0.9.2                                ...           5 months ago
  • 0.9.1                                ...           5 months ago
  • 0.9.0                                ...           5 months ago
  • 0.8.3                                ...           5 months ago
  • 0.8.2                                ...           5 months ago
  • 0.8.1                                ...           6 months ago
  • 0.8.0                                ...           6 months ago
  • 0.7.7                                ...           6 months ago
  • 0.7.6                                ...           6 months ago
  • 0.7.5                                ...           6 months ago
  • 0.7.4                                ...           6 months ago
  • 0.7.3                                ...           6 months ago
  • 0.7.1                                ...           6 months ago
  • 0.7.0                                ...           7 months ago
  • 0.6.9                                ...           7 months ago
  • 0.6.8                                ...           7 months ago
  • 0.6.7                                ...           7 months ago
  • 0.6.6                                ...           7 months ago
  • 0.6.5                                ...           7 months ago
  • 0.6.4                                ...           7 months ago
  • 0.6.3                                ...           7 months ago
  • 0.6.2                                ...           7 months ago
  • 0.6.1                                ...           7 months ago
  • 0.6.0                                ...           7 months ago
  • 0.5.9                                ...           7 months ago
  • 0.5.8                                ...           7 months ago
  • 0.5.7                                ...           7 months ago
  • 0.5.6                                ...           7 months ago
  • 0.5.5                                ...           7 months ago
  • 0.5.4                                ...           7 months ago
  • 0.5.3                                ...           7 months ago
  • 0.5.2                                ...           7 months ago
  • 0.5.1                                ...           7 months ago
  • 0.5.0                                ...           7 months ago
  • 0.4.9                                ...           7 months ago
  • 0.4.8                                ...           7 months ago
  • 0.4.7                                ...           7 months ago
  • 0.4.6                                ...           7 months ago
  • 0.4.5                                ...           7 months ago
  • 0.4.4                                ...           7 months ago
  • 0.4.3                                ...           7 months ago
  • 0.4.2                                ...           7 months ago
  • 0.4.1                                ...           7 months ago
  • 0.4.0                                ...           7 months ago
  • 0.3.9                                ...           7 months ago
  • 0.3.8                                ...           7 months ago
  • 0.3.6                                ...           7 months ago
  • 0.3.5                                ...           7 months ago
  • 0.3.4                                ...           7 months ago
  • 0.3.3                                ...           7 months ago
  • 0.3.2                                ...           7 months ago
  • 0.3.1                                ...           7 months ago
  • 0.3.0                                ...           7 months ago
  • 0.2.19                                ...           7 months ago
  • 0.2.16                                ...           7 months ago
  • 0.2.5                                ...           8 months ago
  • 0.2.4                                ...           8 months ago
  • 0.2.2                                ...           8 months ago
  • 0.2.1                                ...           8 months ago
  • 0.2.0                                ...           8 months ago
  • 0.1.19                                ...           8 months ago
  • 0.1.18                                ...           8 months ago
  • 0.1.17                                ...           8 months ago
  • 0.1.16                                ...           8 months ago
  • 0.1.15                                ...           8 months ago
  • 0.1.14                                ...           8 months ago
  • 0.1.13                                ...           8 months ago
  • 0.1.12                                ...           8 months ago
  • 0.1.11                                ...           8 months ago
  • 0.1.10                                ...           8 months ago
  • 0.1.9                                ...           8 months ago
  • 0.1.8                                ...           8 months ago
  • 0.1.7                                ...           8 months ago
  • 0.1.6                                ...           8 months ago
  • 0.1.4                                ...           8 months ago
  • 0.1.3                                ...           8 months ago
  • 0.1.2                                ...           8 months ago
  • 0.1.1                                ...           8 months ago
  • 0.1.0                                ...           8 months ago
  • 0.0.11                                ...           8 months ago
  • 0.0.10                                ...           8 months ago
  • 0.0.9                                ...           8 months ago
  • 0.0.8                                ...           8 months ago
  • 0.0.7                                ...           8 months ago
  • 0.0.6                                ...           8 months ago
  • 0.0.5                                ...           8 months ago
  • 0.0.4                                ...           8 months ago
  • 0.0.2                                ...           8 months ago
  • 0.0.1                                ...           8 months ago
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 103
Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |