Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rc-form

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-form - npm Package Versions

1
10

2.1.0

Diff

Changelog

Source

2.1.0 / 2017-11-22

  • Support switching from different components with same field name. #117
benjycui
published 2.0.0 •

Changelog

Source

2.0.0 / 2017-11-07

  • Remove option.exclusive of getFieldProps and getFieldDecorator, just use something like antd.Radio.Group or antd.Checkbox.Group as workaround.
  • Add createFormField, and you must use it to wrap field data in option.mapPropsToFields of createForm or createDOMForm: Before rc-form@2.0.0:
    import { createForm } from 'rc-form';
    createFrom({
      mapPropsToFields() {
        return {
          name: { value: 'rc-form' },
        };
      },
    })
    
    After rc-form@2.0.0:
    import { createForm, createFormField } from 'rc-form';
    createFrom({
      mapPropsToFields() {
        return {
          name: createFormField({ value: 'rc-form' }),
        };
      },
    })
    
  • Deprecate form.isSubmitting and form.submit, just handle submit status in your own code.
benjycui
published 1.5.0 •

benjycui
published 1.4.8 •

benjycui
published 1.4.7 •

benjycui
published 1.4.6 •

benjycui
published 1.4.5 •

benjycui
published 1.4.4 •

benjycui
published 1.4.3 •

benjycui
published 1.4.2 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc