Skip to content

Commit 5f3ce4a

Browse files
authored
Merge pull request #990 from kmrshubham0/patch-2
Update DynamicForm.md
2 parents 1413c13 + dcca98e commit 5f3ce4a

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)