Skip to content

Expose default option in SingleItemSelector #414

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

Closed
jvalkeal opened this issue May 13, 2022 · 0 comments · Fixed by #415
Closed

Expose default option in SingleItemSelector #414

jvalkeal opened this issue May 13, 2022 · 0 comments · Fixed by #415
Milestone

Comments

@jvalkeal
Copy link
Contributor

If option items backing SingleItemSelector has known default it'd be nice if selector could be configured to expose it automatically so that user can just press enter to continue a flow.

@jvalkeal jvalkeal added this to the 2.1.0-M4 milestone May 13, 2022
jvalkeal added a commit to jvalkeal/spring-shell that referenced this issue May 13, 2022
- Tweak flow framework so that single item selector
  can be configured with a default item which is then
  "exposed" automatically so that user can just hit enter.
- Fixes spring-projects#414
jvalkeal added a commit that referenced this issue May 13, 2022
- Tweak flow framework so that single item selector
  can be configured with a default item which is then
  "exposed" automatically so that user can just hit enter.
- Fixes #414
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 a pull request may close this issue.

1 participant