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

Issue in edit case in multiple selected dropdown. #239

Open
pritamsgvu opened this issue Jan 24, 2019 · 0 comments
Open

Issue in edit case in multiple selected dropdown. #239

pritamsgvu opened this issue Jan 24, 2019 · 0 comments
Labels

Comments

@pritamsgvu
Copy link

pritamsgvu commented Jan 24, 2019

Version of x-select:

3.1.1

Ember Version / Ember CLI Version:

Ember Version:
3.0.0
Ember CLI Version:
~3.0.2

Expected Behavior

When I am trying to edit the multiple selected checkbox it gives blank array. It should be like if the form field is set to ['10001','10002','10003'] in edit form and I click on 10002 it should be de-select and the remaining value ['10001','10003'] should go in the API request.

Actual Behavior

Currently, when I deselect any value then all value is going to blank.

Steps To Reproduce:

  1. Try to use in edit form (Multiple select).
  2. Try to de-select the element from edit form.
  3. You will get a blank array instead of getting the filled array.
    Like this:
    ['1','2','3']

Now try to deselect 2 from the array. '2'
You should get ['1','3'] but you get [''] and if you double click on '2' you will get ['2'] in array.

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

No branches or pull requests

1 participant