1.1.0 • Published 4 years ago

multiple-input v1.1.0

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

Multiple Input

根据输入内容分词,实现多条件查询

Purpose


由于项目中需要输入多个id进行批量查询,故开发了此组件;输入内容以逗号进行分词;

Useage


Install: npm install multiple-input

<MultipleInput {...props} />

Options


参数说明类型默认值
placeholder输入框占位文本string'请输入'
inputReg输入内容的正则匹配regexp-
selectMax最大输入条数number-
onChange输入完成后的回调(value) => void-
handleSelectedChange输入条数达到max的回调(isCeil) => void-