OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <link href="cr_input.html" rel="import"> | 4 <link href="cr_input.html" rel="import"> |
5 </head> | 5 </head> |
6 <body unresolved> | 6 <body unresolved> |
7 <cr-input label="Blah"></cr-input> | 7 <cr-input label="Blah"></cr-input> |
8 <cr-input label="This is required" required | 8 <cr-input label="This is required" required |
9 error-message="Put something here!"> | 9 error-message="Put something here!"> |
10 </cr-input> | 10 </cr-input> |
11 <cr-input label="Only numbers" pattern="^[0-9]*$" | 11 <cr-input label="Only numbers" pattern="^[0-9]*$" |
12 error-message="Only numbers allowed!"></cr-input> | 12 error-message="Only numbers allowed!"></cr-input> |
13 <cr-input label="Password" type="password"></cr-input> | 13 <cr-input label="Password" type="password"></cr-input> |
14 </body> | 14 </body> |
15 </html> | 15 </html> |
OLD | NEW |