From c5dc6cd423afa10bd9923b598e2e8c7cd37cf06d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariusz=20Przoda=C5=82a?= Date: Wed, 19 Jul 2017 11:20:12 +0200 Subject: [PATCH] listField docs --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 4f672e7..69c07f0 100644 --- a/README.md +++ b/README.md @@ -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