Skip to content

Commit

Permalink
Update Readme with useful docs from rjsf-team#1050 (rjsf-team#1053)
Browse files Browse the repository at this point in the history
This has been a regular source of confusion on my own organization, so I figured it was about time to help summarize it in one place.
  • Loading branch information
loganvolkers authored and glasserc committed Oct 19, 2018
1 parent 04cd627 commit b3fb5ae
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,15 @@ If you just want to disable some of the fields see the `ui:disabled` parameter i

## Advanced customization


_ | Custom Field | Custom Template | Custom Widget
--|---------- | ------------- | ----
What it does | Overrides all behaviour | Overrides just the layout | Overrides just the input box (not layout, labels, or help, or validation)
Usage | Global or per-field | Only global | Global or per-field
Global Example | `<Form fields={MyCustomFields} />` | `<Form ArrayFieldTemplate={ArrayFieldTemplate} />` | `<Form widgets={MyCustomWidgets} />`
Per-Field Example | `"ui:field": MyField` | N/A | `"ui:widget":MyWidget`
Documentation | [Field](#field-props) | [Field Template](#field-template) - [Array Template](#array-field-template) - [Object Template](#object-field-template) - [Error List Template](#error-list-template) | [Custom Widgets](#custom-widget-components)

### Field template

To take control over the inner organization of each field (each form row), you can define a *field template* for your form.
Expand Down

0 comments on commit b3fb5ae

Please sign in to comment.