BatchInput
批量文本框
使用场景:多单号同时查询,比如输入十个订单号同时进行查询,以空格或者换行分割
API
IBatchInputProps
| 参数 | 类型 | 说明 | 默认值 |
|---|---|---|---|
| placeholder | string | 输入提示 | - |
用法
仅支持在 <Search></Search> 中使用,且字段类型是 Text
<View title="Input" version="2"> <Table model="trantor_doc_Person"> <Search> <Field name="name"> <RenderType> <BatchInput /> </RenderType> </Field> </Search> <Fields> <Field name="name" /> </Fields> </Table>提交的字段数据结构如下:
{name: {type: "Collection", values: ["1111", "1222222", "333333"]}}