Skip to content
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

Allow select and search "required" message to be customized. #84

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

jessarcher
Copy link
Member

This PR improves the changes made in #73 so that the "required" validation message can be customized for select and search prompts when running non-interactively.

These two prompts are inherently required (unless a default is provided to the select prompt), so I've prevented setting it to false to avoid a more confusing error message. When PHP 8.1 is no longer supported, we can specify true|string directly on the functions.

@taylorotwell taylorotwell merged commit f48bc94 into main Sep 22, 2023
6 checks passed
@taylorotwell taylorotwell deleted the select-search-required-message branch September 22, 2023 15:03
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