Prevent spellchecking from textarea fields

The spellchecking causes test flakiness.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=231984097
This commit is contained in:
guyben 2019-02-01 09:29:16 -08:00 committed by Ben McIlwain
parent 8085468280
commit c5ad30f49d
4 changed files with 13 additions and 6 deletions

View file

@ -128,7 +128,10 @@
<tr>
<td>Mark Data
<td>
<textarea class="{css('reg-domain-mark')}" {if $readonly}readonly{/if}>
<textarea
class="{css('reg-domain-mark')}"
spellcheck="false"
{if $readonly}readonly{/if}>
{$item['mark:mark']['keyValue']}</textarea>
</td>
</tr>

View file

@ -74,7 +74,7 @@
<span class="{css('description')}">Copy and paste this into an email to the registrars</span>
</td>
<td class="{css('setting')}">
<textarea rows="7" cols="100" readonly>
<textarea rows="7" cols="100" spellcheck="false" readonly>
{for $clientId in mapKeys($clientIdToTld)}
Login: {$clientId}{sp}{sp}{sp}{sp}{sp}{sp}
Password: {$password}{sp}{sp}{sp}{sp}{sp}{sp}

View file

@ -113,7 +113,7 @@
<span class="{css('description')}">Copy and paste this into an email to the registrars</span>
</td>
<td class="{css('setting')}">
<textarea rows="5" cols="30" readonly>
<textarea rows="5" cols="30" spellcheck="false" readonly>
Login: {$clientId}{\n}
Password: {$password}{\n}
Phone passcode: {$passcode}{\n}
@ -199,6 +199,7 @@
"Example:{\n}
USD=billing-id-for-usd{\n}
JPY=billing-id-for-yen{\n}"
spellcheck="false"
required>{$billingAccount ?: ''}</textarea>
</td>
</tr>

View file

@ -87,6 +87,7 @@
name="clientCertificate"
rows="16"
cols="68"
spellcheck="false"
{if $readonly}readonly{/if}>{$clientCertificate}</textarea>
{elseif isNonnull($clientCertificateHash)}
{if $readonly}
@ -100,7 +101,7 @@
<span class="{css('description')}">Existing certificate SHA256 base64 hash:</span>
{$clientCertificateHash}
{else}
<textarea name="clientCertificate" rows="16" cols="68"></textarea>
<textarea name="clientCertificate" rows="16" cols="68" spellcheck="false"></textarea>
{/if}
{else}
{if $readonly}
@ -109,10 +110,11 @@
<p>No certificate on file. Please enter your certificate below.
<textarea id="clientCertificate"
name="clientCertificate"
rows="16" cols="68"></textarea>
rows="16" cols="68"
spellcheck="false"></textarea>
<div class="{css('description')}">
Example format:
<textarea id="exampleCert" rows="17" cols="68" readonly>
<textarea id="exampleCert" rows="17" cols="68" spellcheck="false" readonly>
-----BEGIN CERTIFICATE-----{\n}
MIIDvTCCAqWgAwIBAgIJAK/PgPT0jTwRMA0GCSqGSIb3DQEBCwUAMHUxCzAJBgNV{\n}
BAYTAlVTMREwDwYDVQQIDAhOZXcgWW9yazERMA8GA1UEBwwITmV3IFlvcmsxDzAN{\n}
@ -158,6 +160,7 @@
name="failoverClientCertificate"
rows="16"
cols="68"
spellcheck="false"
{if $readonly}readonly{/if}>
{$failoverClientCertificate ?: ''}
</textarea>