-
Notifications
You must be signed in to change notification settings - Fork 74
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
Syphon.deserialze does not work with <select multiple> elements #25
Comments
I learned this:
I thought the I think this means that they keyExtractor for |
Since the input writer and the key extractor are both keyed by
What's the best way to proceed do ya think? Is there another, better way to go? |
The solution that seems easiest is here:
Want a pull request? |
The other way is to comment out line 273 of
I'm not sure what side effects this would have though. |
@derickbailey, Have you ever intend to combine these changes? |
@SimpleAsCouldBe @SebastianTroc Sorry this wasn't addressed sooner. It has now been marked critical. |
Multiple selects definitely do not work. Why is the |
The hotfix of @SimpleAsCouldBe (#25 (comment)) worked for me. |
Very much related to discussion in #34 |
👍 Still seeing this on 0.6.2. |
Just ran into this issue in 0.6.3! ++ for an fix |
I could definitely have something wrong on my end, but so far it seems like Syphon.serialize will take a multiselect and turn it into an array of strings, but pass the same array of strings back to Syphon.deserialize and the values do not get set. I see that the inputwriter delegates to $el.val(), so this should work OK.
On further investigation, It appears to be failing at Syphon.deserialize where the key is used to pull data:
flattenedData at this point in the execution contains an array at the key of
handedness
, but it is not accessible for some reason.The text was updated successfully, but these errors were encountered: