diff options
author | orenb <orenb@chromium.org> | 2015-05-26 11:08:29 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-26 18:08:58 +0000 |
commit | b5b48480f5e922d1f477dae5cecf6bc61a87746e (patch) | |
tree | 9ad215fd498a5b7308c8c6a20864eca7093699af /ui/webui | |
parent | f049f26dcdca07d6b3f8330e3caad08e0eb6a5ec (diff) | |
download | chromium_src-b5b48480f5e922d1f477dae5cecf6bc61a87746e.zip chromium_src-b5b48480f5e922d1f477dae5cecf6bc61a87746e.tar.gz chromium_src-b5b48480f5e922d1f477dae5cecf6bc61a87746e.tar.bz2 |
Add the tables for modifying existing search engines. Note, some UI polish will be needed later once the UI is completely settled upon.
BUG=479359
Review URL: https://codereview.chromium.org/1148303004
Cr-Commit-Position: refs/heads/master@{#331394}
Diffstat (limited to 'ui/webui')
-rw-r--r-- | ui/webui/resources/cr_elements/v0_8/cr_input/cr_input.html | 2 | ||||
-rw-r--r-- | ui/webui/resources/cr_elements/v0_8/cr_input/cr_input.js | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/ui/webui/resources/cr_elements/v0_8/cr_input/cr_input.html b/ui/webui/resources/cr_elements/v0_8/cr_input/cr_input.html index 11e8ec87..a3fb1cf 100644 --- a/ui/webui/resources/cr_elements/v0_8/cr_input/cr_input.html +++ b/ui/webui/resources/cr_elements/v0_8/cr_input/cr_input.html @@ -10,7 +10,7 @@ <paper-input id="input" label="[[label]]" value="{{value}}" error-message="[[errorMessage]]" auto-validate type="[[type]]" pattern="[[pattern]]" - required="[[required]]"> + required="[[required]]" disabled="[[disabled]]"> </paper-input> </template> <script src="cr_input.js"></script> diff --git a/ui/webui/resources/cr_elements/v0_8/cr_input/cr_input.js b/ui/webui/resources/cr_elements/v0_8/cr_input/cr_input.js index 8826e6a..6273ecc 100644 --- a/ui/webui/resources/cr_elements/v0_8/cr_input/cr_input.js +++ b/ui/webui/resources/cr_elements/v0_8/cr_input/cr_input.js @@ -36,6 +36,15 @@ Polymer({ }, /** + * Set to true to disable editing the input. + */ + disabled: { + type: Boolean, + value: false, + reflectToAttribute: true + }, + + /** * The current value of the input. */ value: { |