FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(loginForm): adds autoFocus to username input by jenny-s51 · Pull Request #2659 · patternfly/patternfly-react · GitHub

fix(loginForm): adds autoFocus to username input - #2659

Merged
redallen merged 3 commits into
patternfly:masterfrom
jenny-s51:iss1954
Aug 21, 2019
Merged

fix(loginForm): adds autoFocus to username input#2659
redallen merged 3 commits into
patternfly:masterfrom
jenny-s51:iss1954

Conversation

Copy link
Copy Markdown
Contributor

Closes #1954.

Copy link
Copy Markdown
Collaborator

PatternFly-React preview: https://patternfly-react-pr-2659.surge.sh

tlabaj self-assigned this Aug 8, 2019
tlabaj requested a review from kmcfaul August 9, 2019 15:48
tlabaj added PF4 labels Aug 9, 2019
</FormHelperText>
<FormGroup label={usernameLabel} isRequired isValid={isValidUsername} fieldId="pf-login-username-id">
<TextInput
<TextInput autoFocus

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Can we add a noFocus prop in case a consumer doesn't want this new behaviour? Otherwise, nice find!!!

redallen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks! 🎉

redallen merged commit 9a1f1c7 into patternfly:master Aug 21, 2019

Copy link
Copy Markdown
Collaborator

Your changes have been released in:

  • @patternfly/react-core@3.90.1
  • @patternfly/react-docs@4.10.22
  • @patternfly/react-inline-edit-extension@2.10.17
  • demo-app-ts@2.21.1
  • @patternfly/react-table@2.18.11
  • @patternfly/react-topology@2.7.42
  • @patternfly/react-virtualized-extension@1.1.128

Thanks for your contribution! 🎉

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose Refs to Input Fields to Allow Focusing

5 participants


Back | FazBrowse Home | New Git URL