@maif/react-forms 1.0.25 → 1.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -100,6 +100,10 @@ export const Example = () => {
100
100
  ```javascript
101
101
  ({rawValues, value, onChange, error}) => <input type="text" className="is-invalid" value={value} onChange={e => onChange(e.target.value)} />
102
102
  ```
103
+ - **itemRender**: a function to completely custom the rendering of form field items (Just in case of `array` is true)
104
+ ```javascript
105
+ ({rawValues, value, onChange, error}) => <input type="text" className="is-invalid" value={value} onChange={e => onChange(e.target.value)} />
106
+ ```
103
107
  - **props**: a json object merged with default props. For exemple, if format `select` is setup, you can add all [props](https://react-select.com/props) to customize react-select
104
108
  - **options**: An array of options for the select field (if format `select` is setup)
105
109
  - **optionsFrom**: A url to fetch array of options for the select field (if format `select` is setup)