Skip to content

Commit 9c80df1

Browse files
committed
Fix wrong buttons props for default form template
1 parent 04f9b19 commit 9c80df1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/react-renderer-demo/src/pages/renderer/form-template.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,13 @@ import { FormTemplate } from ‘@data-driven-forms/pf4-component-mapper’
6161
|Prop|Type|Description|Default|
6262
|----|:--:|----------:|------:|
6363
|buttonClassName|string|Class which will be given to the buttons wrapper.|{ }|
64-
|buttonsLabels|object|You can specify custom labels for all three form buttons.|`{submit: 'Submit', cancel: 'Cancel', reset: 'Reset'}`|
6564
|buttonOrder|array of strings|You can specify the order of the form buttons.|`[ 'submit', 'reset', 'cancel' ]`|
65+
|cancelLabel|node|Label for cancel button.|'Cancel'|
6666
|canReset|bool|Show/hide reset button.|false|
6767
|disableSubmit|array of strings|You can specify a form attributes (see [here](https://final-form.org/docs/final-form/types/FormState)) which will make the submit button disabled. |[ ]|
68+
|resetLabel|node|Label for reset button.|'Reset'|
6869
|showFormControls|bool|You can disable showing form buttons. Use it with wizard component which has its own buttons.|true|
70+
|submitLabel|node|Label for submit button.|'Submit'|
6971

7072
</Grid>
7173
<Grid item xs={false} md={2}>

0 commit comments

Comments
 (0)