Skip to content

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

Open
Semigradsky wants to merge 1 commit into
masterfrom
validation-errors-improvement
Open

Added possibility to passing validation parameters to validation errors messages#289
Semigradsky wants to merge 1 commit into
masterfrom
validation-errors-improvement

Conversation

@Semigradsky
Copy link
Copy Markdown
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
Copy Markdown
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