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

Cannot select an option which happens to already be selected #22

Closed
Nerian opened this issue Dec 8, 2019 · 2 comments
Closed

Cannot select an option which happens to already be selected #22

Nerian opened this issue Dec 8, 2019 · 2 comments

Comments

@Nerian
Copy link

Nerian commented Dec 8, 2019

Hi,

See

53a9bf4#r36300327

I think the operation select2 @manager.name, css: '.membership_contact_id' should be idempotent; it should not matter if the option was already selected.

I believe we could fix this this changing line:

53a9bf4#diff-ae92043bee3928497c5f6e5365d219bdL30-R30

to:

'4' => ".select2-results .select2-results__option"
@mashedkeyboard
Copy link

Also having this problem, would be great if this could be updated.

@Hirurg103
Copy link
Owner

I think the operation select2 @manager.name, css: '.membership_contact_id' should be idempotent; it should not matter if the option was already selected.

I agree @Nerian . Will fix it asap

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

3 participants