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

Unified Diff: ui/webui/resources/cr_elements/cr_input/cr_input.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
« no previous file with comments | « no previous file | ui/webui/resources/cr_elements/cr_input/cr_input.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/cr_elements/cr_input/cr_input.html
diff --git a/ui/webui/resources/cr_elements/cr_input/cr_input.html b/ui/webui/resources/cr_elements/cr_input/cr_input.html
index e0eddc3deac7f3a0e0574942a69ab019e2caf89d..2e8e00822b5b629e0ac1a206ef4c2e9ce6a65e38 100644
--- a/ui/webui/resources/cr_elements/cr_input/cr_input.html
+++ b/ui/webui/resources/cr_elements/cr_input/cr_input.html
@@ -16,7 +16,7 @@
isInvalid="{{!$.input.validity.valid}}">
<input is="core-input" id="input" value="{{value}}"
committedValue="{{committedValue}}" disabled?="{{disabled}}"
- required?="{{required}}" type="{{type}}">
+ required?="{{required}}" readonly?="{{readonly}}" type="{{type}}">
Oren Blasberg 2015/03/04 20:25:44 Where does "readonly?" come from? When I search th
</paper-input-decorator>
</template>
<script src="cr_input.js"></script>
« no previous file with comments | « no previous file | ui/webui/resources/cr_elements/cr_input/cr_input.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698