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

use default value for number type prompts before triggering the validation #276

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kgenge
Copy link

@kgenge kgenge commented Oct 5, 2020

Currently when the validation method is triggered if no value is provided and a default value is present for the question, it is not applied before triggering the validation. As a result the validation will fail, although the default is probably valid. This PR inverts the order of triggering validation and applying the default value (as it it already done for text prompts)

@ryangoree
Copy link

ryangoree commented Dec 17, 2023

fixes #277 #410

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.

None yet

3 participants