Skip to content

Commit 01b9a58

Browse files
committed
missing type="button"
1 parent a3589ce commit 01b9a58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/content/docs/components/password-input.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Find here an example of how to implement a password input with a show password b
156156
<div class="text-input-container">
157157
<label for="liveInputPassword">Password</label>
158158
<input type="password" id="liveInputPassword" class="text-input-field" placeholder=" ">
159-
<button class="btn btn-minimal btn-icon" id="togglePassword">
159+
<button class="btn btn-minimal btn-icon" id="togglePassword" type="button">
160160
<svg aria-hidden="true">
161161
<use xlink:href="${getVersionedDocsPath('/assets/img/ouds-web-sprite.svg#accessibility-vision')}"/>
162162
</svg>

0 commit comments

Comments
 (0)