patternfly / angular-patternfly

This repo contains instructions and the code for a set of Angular 1 components for the PatternFly project.
http://www.patternfly.org/angular-patternfly/
MIT License
123 stars 90 forks source link

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

Closed jeff-phillips-18 closed 6 years ago

jeff-phillips-18 commented 6 years ago

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.