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

Default field.value() method fails if the field element is not and input #9

Open
romelperez opened this issue Aug 9, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@romelperez
Copy link
Member

romelperez commented Aug 9, 2017

When the field element is not a valid element as it's as one, the value is not an string, so the space trimmer fails. This should set by default an empty string if falsy value is returned.

This happened with a select with no options, so the value is not defined.

@romelperez romelperez added the bug label Aug 9, 2017
@romelperez romelperez added this to the jquery milestone Aug 9, 2017
@romelperez romelperez self-assigned this Aug 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
VulcanValidator
Awaiting triage
Development

No branches or pull requests

1 participant