You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a list of items that people can drag from. To make it easier to find what you are looking for, the list is filterable. Has anyone found a way to make sure sortablejs does not select items with a certain class ? I have tried adding filter: '.hidden' but that does not seem to do anything
This is the only way I have found that seems to work, but it seems a bit hacky to first select an item and then deselect it right away.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a list of items that people can drag from. To make it easier to find what you are looking for, the list is filterable. Has anyone found a way to make sure sortablejs does not select items with a certain class ? I have tried adding
filter: '.hidden'
but that does not seem to do anythingThis is the only way I have found that seems to work, but it seems a bit hacky to first select an item and then deselect it right away.
Beta Was this translation helpful? Give feedback.
All reactions