From 706c3577c517631e8460b58afe975e6f6abe2c79 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Thu, 3 Aug 2017 13:27:26 +0800 Subject: Add form-checkbox, radio and switch validation styles --- docs/elements.html | 117 +++++++++++++++++++++++++++++++++-------------------- 1 file changed, 74 insertions(+), 43 deletions(-) (limited to 'docs/elements.html') diff --git a/docs/elements.html b/docs/elements.html index b80e9f7..9ee3cef 100644 --- a/docs/elements.html +++ b/docs/elements.html @@ -1103,7 +1103,7 @@
- +
@@ -1199,47 +1199,70 @@
-
- - -

The name is invalid.

-
-
- - -

The email is available.

-
-
-
-
-
-
- -

The option is invalid.

-
-
- -

The option is available.

-
-
-
-
-
-
- - -

The name is invalid.

-
+
+ form-input +
+ + +

The name is valid.

+
+
+ + +

Passwords must have at least 8 characters.

+
+
+ + +

The Email address is unavailable.

+
+
+
+ form-select +
+ +

The option is invalid.

+
+
+ +

The option is available.

+
+
+
+ form-checkbox, radio and switch +
+ +
+
+ + +
+
+ +
+
@@ -1258,6 +1281,14 @@ <input class="form-input is-success" type="text" id="input-example-1" placeholder="..." /> <p class="form-input-hint">The name is invalid.</p> </div> + + <!-- form validation example for checkbox, radio and switch --> + <div class="form-group"> + <label class="form-checkbox is-error"> + <input type="checkbox" /> + <i class="form-icon"></i> Remember me + </label> + </div> </form> @@ -1674,7 +1705,7 @@
- +
-- cgit v1.3.1-23-gd82d