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

Added possibility to passing validation parameters to validation errors messages #289

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

Conversation

Semigradsky
Copy link
Collaborator

<Input
    ...
    validations={{
        'minLength': 3,
        'maxLength': 5
    }}
    validationErrors={{
        'minLength': 'The field must be at least {0} characters in length',
        'maxLength': 'The field must not exceed {0} characters in length'
    }}
/>

@Semigradsky Semigradsky added this to the 0.19.0 milestone Aug 26, 2016
@aesopwolf
Copy link
Collaborator

Looks good to me, any reason this hasn't been merged in yet?

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