Skip to content

Commit

Permalink
Update README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjenx authored Aug 13, 2024
1 parent d626c33 commit 28b9853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ val emailValidator = TextFieldValueValidator(
with(emailValiator) {
OutlinedTextField(
value = value,
onValueChange = ::validate,
onValueChange = ::onValueChange,
modifier = Modifier
.validateFocusChanged() // will start validation on loss of focus
.shakeOnInvalid() // will shake the field when invalid and validate() is called
Expand Down

0 comments on commit 28b9853

Please sign in to comment.