plus-form
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

use plus-form

install

cnpm i plus-form --save

use

const App = ()=>{
  const [form] = Form.useForm();
  return (
    <PlusForm<CurrentItem>
      form={form}
      list={[
        { label: '所属区域', name: 'oid', orgSelect: true, width: 100 },
        { label: '机构队伍类型', name: 'teamType', dictSelect: 'TEAM_TYPE' },
        { label: '机构名称', name: 'name', view: <Input /> },
      ]}
    />
  );
}
export default App;

更新记录

1.0.2 (2022.11.01) 1.参数Form.Item->isShow 去除传入未知属性

1.0.1 (2022.10.27) 1.修改orgSelect、dictSelect传入方式 2.添加配置,当list>=6时默认显示两列,显示两列以上时默认labelType为vertical

1.0.0 (2022.10.25) 1.初始化

Readme

Keywords

Package Sidebar

Install

npm i plus-form

Repository

github.com/

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

35.9 kB

Total Files

30

Last publish

Collaborators

  • wyz107635
  • awue