Skip to content

MacyMa18/uxcore-pickable-form-field

 
 

Repository files navigation

uxcore-pickable-form-field

React pickable form field

NPM version build status Test Coverage Dependency Status devDependency Status NPM downloads

Sauce Test Status

Development

git clone https://github.com/uxcore/uxcore-pickable-form-field
cd uxcore-pickable-form-field
npm install
npm run server

if you'd like to save your install time,you can use uxcore-tools globally.

npm install uxcore-tools -g
git clone https://github.com/uxcore/uxcore-pickable-form-field
cd uxcore-pickable-form-field
npm install
npm run dep
npm run start

Test Case

npm run test

Coverage

npm run coverage

Demo

http://uxcore.github.io/components/pickable-form-field

Contribute

Yes please! See the CONTRIBUTING for details.

API

Props

Name Type Required Default Comments
multiple boolean optional true 是否支持多选
value string/number required - pickable Item 对应的值
type string optional normal 样式风格,可选值为normal,simple,hook
max number optional 99 最大显示的数字,超过 max,显示 max+

About

React Pickable Field for Form

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.8%
  • HTML 17.0%
  • CSS 3.2%