Skip to content

Commit a9b8b37

Browse files
authored
Merge pull request #3497 from DrMoshtael/patch-3
Part10b: Removed reference to non-existant prop
2 parents 48f7817 + fb6ce54 commit a9b8b37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/10/en/part10b.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ Validate the sign-in form so that both username and password fields are required
842842
843843
The current implementation of the <em>TextInput</em> component should display an error message if a touched field has an error. Emphasize this error message by giving it a red color.
844844
845-
On top of the red error message, give an invalid field a visual indication of an error by giving it a red border color. Remember that if a field has an error, the <em>TextInput</em> component sets the <em>TextInput</em> component's <em>error</em> prop as <em>true</em>. You can use the value of the <em>error</em> prop to attach conditional styles to the <em>TextInput</em> component.
845+
On top of the red error message, give an invalid field a visual indication of an error by giving it a red border color.
846846
847847
Here's what the sign-in form should roughly look like with an invalid field:
848848

0 commit comments

Comments
 (0)