Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: ui/webui/resources/cr_elements/cr_input/demo.html

Issue 976713007: Add a readonly attribute to cr-input. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 error="Put something here!"> 8 <cr-input label="This is required" required error="Put something here!">
9 </cr-input> 9 </cr-input>
10 <cr-input label="Only numbers" pattern="^[0-9]*$" 10 <cr-input label="Only numbers" pattern="^[0-9]*$"
11 error="Only numbers allowed!"></cr-input> 11 error="Only numbers allowed!"></cr-input>
12 <cr-input label="Password" type="password"></cr-input> 12 <cr-input label="Password" type="password"></cr-input>
13 <cr-input label="Read only" readonly></cr-input>
13 </body> 14 </body>
14 </html> 15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698