Skip to content

Commit

Permalink
Merge pull request #1428 from lucasnetau/fix-1371
Browse files Browse the repository at this point in the history
fix: correct the documentation for formRender action clear()
  • Loading branch information
kevinchappell authored Oct 5, 2023
2 parents 8f6f67d + 21c206a commit 9f67c22
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/formRender/actions/clear.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ const html = formRenderInstance('html'); // HTML DOM nodes
const htmlString = html.outerHTML;
</code></pre>
// User enters data
<pre><code class="js">formRenderInstance('clear');</code></pre>
<pre><code class="js">formRenderInstance.clear();
// or
$('#render-container').formRender('clear')</code></pre>
// User entered data is cleared

0 comments on commit 9f67c22

Please sign in to comment.