-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Error in JS validation for rule Form::Image #332
Comments
dg
added a commit
that referenced
this issue
May 12, 2024
dg
added a commit
that referenced
this issue
Jun 3, 2024
dg
added a commit
that referenced
this issue
Jun 3, 2024
dg
added a commit
that referenced
this issue
Jun 3, 2024
dg
added a commit
that referenced
this issue
Jun 4, 2024
dg
added a commit
that referenced
this issue
Jun 4, 2024
dg
added a commit
that referenced
this issue
Jun 11, 2024
dg
added a commit
that referenced
this issue
Aug 3, 2024
dg
added a commit
that referenced
this issue
Aug 5, 2024
dg
added a commit
that referenced
this issue
Aug 5, 2024
dg
added a commit
that referenced
this issue
Aug 5, 2024
dg
added a commit
that referenced
this issue
Aug 5, 2024
dg
added a commit
that referenced
this issue
Aug 5, 2024
dg
added a commit
that referenced
this issue
Aug 5, 2024
dg
added a commit
that referenced
this issue
Aug 5, 2024
dg
added a commit
that referenced
this issue
Aug 5, 2024
dg
added a commit
that referenced
this issue
Aug 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: 3.2.3
Bug Description
A rule in attribute
data-nette-rules
generates an array (rule as Form::MimeType) or object (rule Form::Image) intoarg
. In the case of an object, the validation javascript then fails withUncaught TypeError: arg.replace is not a function
forms/src/assets/netteForms.js
Line 529 in 94f43f0
Steps To Reproduce
composer.json
index.php
Expected Behavior
The
arg
in both rules should be generated in the same way ornetteForms.js
should be able to handle the object.The text was updated successfully, but these errors were encountered: