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

Unified 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, 10 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 side-by-side diff with in-line comments
Download patch
Index: ui/webui/resources/cr_elements/cr_input/demo.html
diff --git a/ui/webui/resources/cr_elements/cr_input/demo.html b/ui/webui/resources/cr_elements/cr_input/demo.html
index 0934e48f9ee2aea5b595993260019b1972744ddd..42b7834e608b337107216f6f3ed00bef9644cd9a 100644
--- a/ui/webui/resources/cr_elements/cr_input/demo.html
+++ b/ui/webui/resources/cr_elements/cr_input/demo.html
@@ -10,5 +10,6 @@
<cr-input label="Only numbers" pattern="^[0-9]*$"
error="Only numbers allowed!"></cr-input>
<cr-input label="Password" type="password"></cr-input>
+ <cr-input label="Read only" readonly></cr-input>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698