Commit ff4e145a authored by rbpotter's avatar rbpotter Committed by Commit Bot

Print Preview: turn off spellcheck for search boxes and inputs

Bug: 871656
Change-Id: I7b258a191788051187ea2066072d41997953e45b
Reviewed-on: https://chromium-review.googlesource.com/1174959Reviewed-by: default avatarScott Chen <scottchen@chromium.org>
Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#583159}
parent c5c5a0c7
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
</div> </div>
</template> </template>
<span hidden$="[[isCapabilityTypeSelect_(capability)]]"> <span hidden$="[[isCapabilityTypeSelect_(capability)]]">
<input type="text" on-input="onUserInput_" <input type="text" on-input="onUserInput_" spellcheck="false"
placeholder="[[getCapabilityPlaceholder_(capability)]]"> placeholder="[[getCapabilityPlaceholder_(capability)]]">
</span> </span>
</div> </div>
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
on-click="onCustomRadioClick_"> on-click="onCustomRadioClick_">
<input id="pageSettingsCustomInput" class="user-value" type="text" <input id="pageSettingsCustomInput" class="user-value" type="text"
checked="{{customSelected_::change}}" data-timeout-delay="500" checked="{{customSelected_::change}}" data-timeout-delay="500"
disabled$="[[getDisabled_(disabled)]]" disabled$="[[getDisabled_(disabled)]]" spellcheck="false"
pattern="[[inputPattern_]]" pattern="[[inputPattern_]]"
on-focus="onCustomInputFocus_" on-blur="onCustomInputBlur_" on-focus="onCustomInputFocus_" on-blur="onCustomInputBlur_"
placeholder="$i18n{examplePageRangeText}" placeholder="$i18n{examplePageRangeText}"
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<input type="search" id="searchInput" class="search-box-input" <input type="search" id="searchInput" class="search-box-input"
on-search="onSearchTermSearch" on-input="onSearchTermInput" on-search="onSearchTermSearch" on-input="onSearchTermInput"
incremental aria-label$="[[label]]" placeholder="[[label]]" incremental aria-label$="[[label]]" placeholder="[[label]]"
autofocus="[[autofocus]]"> autofocus="[[autofocus]]" spellcheck="false">
</template> </template>
<script src="print_preview_search_box.js"></script> <script src="print_preview_search_box.js"></script>
</dom-module> </dom-module>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment