1 00:00:00,970 --> 00:00:06,260 All right, my friends, let's go over a very quick solution, so I'm inside my validator Duchesse file. 2 00:00:06,310 --> 00:00:09,010 I'm going to find that text input that was already created for us. 3 00:00:09,870 --> 00:00:12,420 I'm going to first assign a value to it. 4 00:00:14,060 --> 00:00:21,470 Of this state password, they're going to take whatever the current value is of this state dot password 5 00:00:21,470 --> 00:00:27,320 and assigned to the value prop of this input, we will then also add in and on change prop. 6 00:00:27,860 --> 00:00:32,000 Whenever someone makes a change to this input, we're going to make sure that we take that updated value 7 00:00:32,180 --> 00:00:35,450 and use it to update our password piece of state as well. 8 00:00:36,570 --> 00:00:43,680 So I'm going to abbreviate the event as simply once again and then we'll do a this set St.. 9 00:00:45,270 --> 00:00:51,720 We want to update our password piece of state to that target value like so. 10 00:00:55,060 --> 00:01:01,240 OK, so now to test this out, if I type inside the input, at least four characters, sure enough, 11 00:01:01,240 --> 00:01:02,490 that wording message goes away. 12 00:01:03,340 --> 00:01:07,930 And if I have fewer than four characters, the warning message comes back, so definitely looks like 13 00:01:07,930 --> 00:01:09,400 this is behaving as expected. 14 00:01:09,970 --> 00:01:13,720 I'm going to try to check my solution and just make sure all the tests are passing. 15 00:01:17,690 --> 00:01:18,570 Yep, looks good. 16 00:01:19,220 --> 00:01:23,080 All right, so now we've got a little practice, let's continue with our application in just a moment.