Skip to content

Commit dcca98e

Browse files
authored
Update DynamicForm.md
changed <DynamicForm context={this.props.context} listId={"3071c058-549f-461d-9d73-8b9a52049a80"} listItemId={1}> onCancelled={() => { console.log('Cancelled') }} onBeforeSubmit={(async listItem) => { return true; }} onSubmitError={(listItem, error) => { alert(error.message); }} onSubmitted={async (listItemData) => { console.log(listItemData); }}> </DynamicForm> to <DynamicForm context={this.props.context} listId={"3071c058-549f-461d-9d73-8b9a52049a80"} listItemId={1} onCancelled={() => { console.log('Cancelled') }} onBeforeSubmit={async (listItem) => { return true; }} onSubmitError={(listItem, error) => { alert(error.message); }} onSubmitted={async (listItemData) => { console.log(listItemData); }}> </DynamicForm>
1 parent 66f0362 commit dcca98e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/documentation/docs/controls/DynamicForm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ import { DynamicForm } from "fx-controls-react/lib/DynamicForm";
1717
<DynamicForm
1818
context={this.props.context}
1919
listId={"3071c058-549f-461d-9d73-8b9a52049a80"}
20-
listItemId={1}>
20+
listItemId={1}
2121
onCancelled={() => { console.log('Cancelled') }}
22-
onBeforeSubmit={(async listItem) => { return true; }}
22+
onBeforeSubmit={async (listItem) => { return true; }}
2323
onSubmitError={(listItem, error) => { alert(error.message); }}
2424
onSubmitted={async (listItemData) => { console.log(listItemData); }}>
2525
</DynamicForm>

0 commit comments

Comments
 (0)