-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Select Multiple won't deselect #2554
Comments
FYI I am using 0.97.5 |
Hi, this issue should be fixed with a bunch of others in the next release if they accept the PR : #2514 For now you can take the component code directly on my repository. Note : You can add a label to your select for name it. |
Hi, We have the same issue with deselecting an option. I'll try @TyrionGraphiste code. |
@TyrionGraphiste 's code seems to work fine for the multiple select so far. Thank you |
@nicolasFauren Thanks for replied |
Hi, Same issue here. |
Hi, I'm currently working on an other version. If you want to test it before a probable PR please refer to #2522 (comment) |
@TyrionGraphiste Thank you |
I added the CSS in my last post, you can add after materialize.css for taking account all changes. |
Closed due inactivity, feel free to reopen it if it is still necessary. |
I have several select items that are using the multiple option. On render they correctly show which items have been selected. If I select a new item it gets added to the list correctly. My issue is that if i deselect an item that was selected at render and submit, that deselection doesn't get saved. In firebug I can see that there's no change in the selected property on the actual select item. Not sure If I'm doing it wrong or if there is an error in the code. Here's the code for one of my selects:
And from the jQuery file I have:
The text was updated successfully, but these errors were encountered: