Skip to content

Commit 464eedf

Browse files
authored
docs: update copy-pasted input in Validation section of input-field (#1192)
The input was probably copy-pasted from the "success" input above, but the id and placeholder weren't updated. Now the id and placeholder match with the label and Helper message.
1 parent 6b7de16 commit 464eedf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/docs/forms/input-field.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Use the following example to apply validation styles for success and error messa
141141
</div>
142142
<div class="mb-6">
143143
<Label for="error" color="red" class="block mb-2">Your name</Label>
144-
<Input id="success" color="red" placeholder="Success input" />
144+
<Input id="error" color="red" placeholder="Error input" />
145145
<Helper class="mt-2" color="red">
146146
<span class="font-medium">Oh, snapp!</span>
147147
Some error message.

0 commit comments

Comments
 (0)