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

Connect two select boxes with the same content #1394

Closed
chrisvel opened this issue Jan 20, 2016 · 2 comments
Closed

Connect two select boxes with the same content #1394

chrisvel opened this issue Jan 20, 2016 · 2 comments
Labels

Comments

@chrisvel
Copy link

I have two select boxes with the same content :

1

<ui-select-choices
repeat="resource.id as resource in resources | filter: { id: !ticket.primary_resource_id } | propsFilter: { lastname: $select.search,  firstname: $select.search }"" >

2

<ui-select-choices
repeat="resource.id as resource in resources | filter: { id: !ticket.secondary_resource_id } | propsFilter: { lastname: $select.search,  firstname: $select.search }"" >

I want to exclude from the second one (or disable) the choice that the user did on the first one. How do I do this ?

@user378230
Copy link
Contributor

Add a (custom) filter to your second ui-select-choices to remove the selected items from your first ui-select.

@user378230
Copy link
Contributor

Closing due to lack of activity.

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

No branches or pull requests

2 participants