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

can't create custom message by mask .*. #453

Open
paxarpp opened this issue Jun 8, 2022 · 1 comment
Open

can't create custom message by mask .*. #453

paxarpp opened this issue Jun 8, 2022 · 1 comment

Comments

@paxarpp
Copy link

paxarpp commented Jun 8, 2022

Version 3.18.1

Hi,

for a rule containing .*. 'conditions.*.values': 'required'

can't create custom message by mask .*. ,

custom message 'required.conditions.*.values': 'select value' - does not work,

custom message 'required.conditions.0.values': 'select value' - work correctly

@chantouchsek
Copy link

Check it here: chantouchsek/validatorjs#232

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

No branches or pull requests

2 participants