Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Select: Multi select with search header #241

Closed
ghost opened this issue Jun 13, 2017 · 4 comments
Closed

Select: Multi select with search header #241

ghost opened this issue Jun 13, 2017 · 4 comments

Comments

@ghost
Copy link

ghost commented Jun 13, 2017

Bug, feature request, or proposal:

Bug/feature request

What is the expected behavior?

while Multi selecting with search the already selected elements are not suppose to remove from select.

What is the current behavior?

while Multi selecting with search the already selected elements are removing from select.

What are the steps to reproduce?

http://plnkr.co/edit/rQmUz8WYRh5Vz4gwY8E4?p=preview

Steps to Reproduce.

  1. Select any two elements(vadodra,Rajakot)
  2. close the select
  3. Search for "Goa"
  4. Select "Goa"

The already selected items get removed.

@dharmeshpipariya-zz
Copy link
Contributor

@prudhvireddy123 there are actually applied the filter to remove the select option from the array, so we can't access it inside the select component and while update select option, we update according to the model of it

@ghost
Copy link
Author

ghost commented Jun 15, 2017

@dharmeshpipariya Thanks. May you help me to make search will work with multi select.?

@dharmeshpipariya-zz
Copy link
Contributor

@prudhvireddy123 it is difficult to manage search in multiple select, you can manage selected options while calling change event, but I suggest do not use search functionality with multiple select.

@ghost
Copy link
Author

ghost commented Jun 15, 2017

@dharmeshpipariya May be this will gives us more idea. Have a look https://github.com/softsimon/angular-2-dropdown-multiselect

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

No branches or pull requests

1 participant