Created
July 6, 2011 16:20
-
-
Save jobjo/1067651 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.myValidIcon | |
{ | |
width : 20px; | |
height : 20px; | |
background-color: Green; | |
} | |
.myErrorIcon | |
{ | |
width : 20px; | |
height : 20px; | |
background-color: Red; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Controls.Input "" | |
|> Validator.IsEmail "" | |
|> Enhance.WithCustomValidationIcon | |
{ Enhance.ValidationIconConfiguration.Default with | |
ValidIconClass = "myValidIcon" | |
ErrorIconClass = "myErrorIcon" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment