Skip to content

Commit 446d444

Browse files
author
Anthony Du Pont
committed
🐛 Fix Form Example
1 parent 41593e1 commit 446d444

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

docs/examples.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ <h1>Examples</h1>
88
<h2 id="forms"><a href="./examples.html#forms">Forms</a></h2>
99
<p>Form submission is not considered as a navigation so it <strong>hard reloads</strong> the page by default. We have to consider using AJAX validation and the <em>Core</em>.<strong>redirect(<em>href</em>)</strong> method if we want to redirect our users to a <em>Thank you</em> page.</p>
1010

11-
<form action="./examples.html" method="POST">
12-
<input type="text" placeholder="Email" />
13-
<input type="password" placeholder="Password" />
14-
<button type="submit">Try me!</button>
15-
</form>
16-
1711
<h2 id="disable-links"><a href="./examples.html#disable-links">Disable Links</a></h2>
1812
<p>All links using with a different origin, a <strong>target</strong> attribute or a <strong>data-router-disabled</strong> attribute are going to be ignored by <strong>Highway</strong>. We have then some options in our hand to manipulate our links the way we want.</p>
1913

0 commit comments

Comments
 (0)