Skip to content

Commit 91ae4b1

Browse files
committed
Update demo
Add minLenght and validation message Password
1 parent 49b34cf commit 91ae4b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/src/main/java/io/asfjava/ui/demo/screen/DemoForm.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class DemoForm implements Serializable {
2222

2323

2424
// @Tab(title = "Contact", index = 2)
25-
@Password(title = "Password", placeHolder = "Please set you password",description = "This is password")
25+
@Password(title = "Password", placeHolder = "Please set you password",minLenght=6,description = "This is password", validationMessage = "The password must contain a minimum of 6 characters ")
2626
private String password;
2727

2828
@Tab(title = "Info", index = 1)

0 commit comments

Comments
 (0)