Skip to content
Permalink
Browse files

fix(ui): autofocus payment request field

  • Loading branch information...
mrfelton committed May 30, 2019
1 parent cc21309 commit e887f939f575401775f7c2a45b98165aa9fdfb7a
Showing with 3 additions and 1 deletion.
  1. +3 −1 renderer/components/Pay/Pay.js
@@ -264,7 +264,8 @@ class Pay extends React.Component {

/**
* Form submit handler.
* @param {Object} values submitted form values.
*
* @param {object} values submitted form values.
*/
onSubmit = values => {
const { currentStep, isOnchain } = this.state
@@ -485,6 +486,7 @@ class Pay extends React.Component {
validateOnBlur
validateOnChange
width={1}
willAutoFocus
/>
</React.Fragment>
)}

0 comments on commit e887f93

Please sign in to comment.
You can’t perform that action at this time.