Browse Source
fix(ui): disable spellcheck in payreq fields
renovate/lint-staged-8.x
Tom Kirkpatrick
6 years ago
No known key found for this signature in database
GPG Key ID: 72203A8EC5967EA8
2 changed files with
2 additions and
0 deletions
-
app/components/UI/LightningInvoiceInput.js
-
test/unit/components/UI/__snapshots__/LightningInvoiceInput.spec.js.snap
|
|
@ -56,6 +56,7 @@ class LightningInvoiceInput extends React.Component { |
|
|
|
placeholder={intl.formatMessage({ ...messages.payreq_placeholder })} |
|
|
|
rows={5} |
|
|
|
{...this.props} |
|
|
|
spellCheck="false" |
|
|
|
validate={this.validate} |
|
|
|
/> |
|
|
|
) |
|
|
|
|
|
@ -52,6 +52,7 @@ exports[`component.UI.LightningInvoiceInput should render correctly 1`] = ` |
|
|
|
placeholder="Paste a Lightning Payment Request or Bitcoin Address here" |
|
|
|
required={false} |
|
|
|
rows={5} |
|
|
|
spellCheck="false" |
|
|
|
value="" |
|
|
|
width={1} |
|
|
|
/> |
|
|
|