Skip to content

Commit

Permalink
listField docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariusz Przodała committed Jul 19, 2017
1 parent db51df3 commit c5dc6cd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ You can use current fields or create new fields. Here You have list of fields.
| eventsListener (from context) | Instance of FormEventsListener (prop avaible if you have eventListener in form) |
| path (from context) | String (this prop give you path to field "form.someObjectField.thisField") |
| trim (**TextField**) | boolean (trims values passed to `onChange` if set) |
| minLength (**ListField**) | Number (number of minimal amount of listField elements) |
| maxLength (**ListField**) | Number (number of maximal amount of listField elements) |
| hideAddButton (**ListField**) | Boolean (you can hide add button) |
| hideRemoveButton (**ListField**) | Boolean (you can hide remove buttons) |
| addButton (**ListField**) | Object ({ className: PropTypes.string, value: PropTypes.node}) |
| removeButton (**ListField**) | Object ({ className: String, value: Node}) |

### FormEventsListener

Expand Down

0 comments on commit c5dc6cd

Please sign in to comment.