Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

fix: error message for MinItems validator #389

Merged
merged 1 commit into from Nov 8, 2021

Conversation

mostafahussein
Copy link
Contributor

Currently when using survey.MinItems(1) with no items selected it says:

X Sorry, your reply was invalid: value is too long. Min items is 1

However it should be too short not too long

Signed-off-by: Mostafa Hussein <mostafa.hussein91@gmail.com>
Copy link
Collaborator

@mislav mislav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@mislav mislav merged commit a8912d0 into AlecAivazis:master Nov 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants