Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

v1.10.2

Compare
Choose a tag to compare
@davidkpiano davidkpiano released this 11 Apr 16:34
· 330 commits to master since this release

This reverts the previous patch - standard prop mappings (such as onChange, onBlur, etc.) will be passed onto <Control> components with custom components, as expected. See #743 for why that was important.

If you do not want any standard property mappings (such as onChange, onBlur, etc.) passed down to your custom control component, use <Control.custom> and define your own mappings:

<Control.custom
  component={SpecialCustomText}
  mapProps={{
    onTextChange: (props) => props.onChange,
    onLoseFocus: (props) => props.onBlur,
    // etc.
  }}
/>