File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
components/console/helpers Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -146,9 +146,10 @@ Using ``false`` means the amount of attempts is infinite.
146
146
The user will be asked as long as they provide an invalid answer and will only
147
147
be able to proceed if their input is valid.
148
148
149
- Each time the user is asked the question, if no answer is supplied, the default one is used
150
- and it's validated using the ``$validator `` callback.
151
- If the validator throws an exception on the last attempt, the exception is displayed to the user.
149
+ Each time the user is asked the question, if no answer is supplied, the default
150
+ one is used (and validated with the ``$validator `` callback) and the remaining
151
+ number of attempts is displayed. If the last attempt is reached, the application
152
+ throws an exception and ends its execution.
152
153
153
154
Validating a Hidden Response
154
155
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments