-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
Safari issue with submitting selected options #122
Comments
Possibly connected to #98. Are you using latest 1.7.4 version ? |
Hmm, I don't know what's going on there. I just tested on safari 14 and it worked fine (single select w/ a pre-selected value). Could it be a problem with the code you're using to serialize the form data before sending it over XHR? |
P.S. If I could get a jsfiddle or similar that fails for you, I could test it on my safari. |
Seeing the same issue in Safari, will try to create a minimal reproduction for debugging.
|
Been able to reproduce this issue (or a similar looking one), here's a CodeSandbox: https://codesandbox.io/s/5okh7?file=/index.html // https://5okh7.csb.app/ I've recorded a 2min video about the unexpected behaviour in Safari using the CodeSandbox above: https://www.loom.com/share/0f70fd8d2dfe4bedb4d3c96be674bf61 For me the issue that the initially selected input value gets submitted happens when the select is marked as required. The select tag in @acetinick's example is also marked required, so maybe the issue is specific to selects marked as required. |
Should be fixed now. I'll get a new release out shortly |
Describe the bug
Using safari we have strange issue with selects that have preselected options. New options are selected and submitted fine however for some reason the options selected when editting are submitted as blank values.
More strangely is that the HTML markup looks fine.
To Reproduce
Expected behavior
Additional context
The text was updated successfully, but these errors were encountered: