From 21c206a7e82836dab0591d41b2d031e7993a9b40 Mon Sep 17 00:00:00 2001 From: James Lucas Date: Thu, 28 Sep 2023 11:40:12 +1000 Subject: [PATCH] fix: correct the documentation for formRender action clear() --- docs/formRender/actions/clear.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/formRender/actions/clear.md b/docs/formRender/actions/clear.md index e125e5f55..c3d4dca4f 100644 --- a/docs/formRender/actions/clear.md +++ b/docs/formRender/actions/clear.md @@ -11,5 +11,7 @@ const html = formRenderInstance('html'); // HTML DOM nodes const htmlString = html.outerHTML; // User enters data -
formRenderInstance('clear');
+
formRenderInstance.clear();
+// or
+$('#render-container').formRender('clear')
// User entered data is cleared