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

Possible bug with select elements #8

Open
kliakos opened this issue Feb 22, 2014 · 4 comments
Open

Possible bug with select elements #8

kliakos opened this issue Feb 22, 2014 · 4 comments

Comments

@kliakos
Copy link

kliakos commented Feb 22, 2014

When a select element is required, a validate-popover node is created for each one of the select's options. Thats because of the following statement:
hide_validate_popover: function(element) {
var ele, _i, _len, _results;
if (element.length > 1) {..

Where element is not the jquery object, but the actual html node.

@mingliangfeng
Copy link
Owner

Do you have an example like JS fiddle for this scenario?

@kliakos
Copy link
Author

kliakos commented Feb 26, 2014

Here it is: http://jsfiddle.net/yLu3q

Hit the submit button and inspect the result's html body.

@mingliangfeng
Copy link
Owner

Hmm, looks like it is an issue, I will look into it some time later.
Or are you interested in fixing it and making a pull request?

@kliakos
Copy link
Author

kliakos commented Feb 26, 2014

I have disabled this from happening in my app, but I am not sure what the best solution is. Take your time and fix it when you can.

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