Skip to content

feat(wizard): Add ability to set initial focus component per page #735

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 20, 2018

Conversation

jeff-phillips-18
Copy link
Member

Description

Adds the ability to pass selectors for wizard step and substep pages in order to set the initial focus component for the page. An array of selectors is passed and will be used in order until a match if found. If no selectors are passed or none of the selectors match a component, then the next button is focuses if enabled, otherwise the cancel button is focused.

@dtaylor113 dtaylor113 merged commit ff32d39 into patternfly:master Apr 20, 2018
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.

2 participants