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

don't select all option when submit. #9

Closed
liuyug opened this issue May 29, 2015 · 8 comments
Closed

don't select all option when submit. #9

liuyug opened this issue May 29, 2015 · 8 comments
Assignees

Comments

@liuyug
Copy link

liuyug commented May 29, 2015

With my latest firefox, I do not get all option after submitting. I find your statement with attr. I think it should be prop

                // select all the options from left and right side
                // when submiting the parent form
                self.right.closest('form').on('submit', function(e) {
                    self.left.children().prop('selected', true);
                    self.right.children().prop('selected', true);
                    });



@liuyug
Copy link
Author

liuyug commented May 29, 2015

Would you provide a feature, up and down options?

@crlcu
Copy link
Owner

crlcu commented May 29, 2015

Hi @liuyug

Did you tried with prop and it worked?

@liuyug
Copy link
Author

liuyug commented May 29, 2015

Yes, it worked.
What's your result?

@crlcu
Copy link
Owner

crlcu commented May 29, 2015

Could you be a bit more specific for this up and down feature please ?

@crlcu
Copy link
Owner

crlcu commented May 29, 2015

@liuyug I didn't tried yet tbh - I'll have a look as soon as I can.

@liuyug
Copy link
Author

liuyug commented May 29, 2015

add two new button.
up to move option to above floor
downto move option to below floor.
it is vertical sort manually.

@crlcu
Copy link
Owner

crlcu commented May 29, 2015

I'll have a look and I'll try to implement this feature.

@crlcu crlcu self-assigned this May 29, 2015
@crlcu
Copy link
Owner

crlcu commented May 29, 2015

@liuyug
.attr is now replaced with .prop

I'll close this issue and I'll open a different one for the feature you requested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants