Skip to content

Commit

Permalink
fix: correct the documentation for formRender action clear()
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasnetau committed Sep 28, 2023
1 parent 843eca7 commit 21c206a
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 21c206a

Please sign in to comment.