Select field broken on Microsoft Edge
See original GitHub issueWhen selecting an option from a select field on Microsoft Edge, a TypeError with message “Invalid attempt to spread non-iterable instance” is thrown. From what I can tell, it is an issue with babel and this line https://github.com/joepuzzo/informed/blob/ac97d5819ce37098a9b98d99b8348b187bfc6630/src/components/form-fields/Select.js#L25 Cursory google led me to https://github.com/babel/babel/issues/8068, though I’m somewhat new to web development, so I’m unsure if this is the root cause.
Minimum Code for Reproduction: https://codesandbox.io/embed/crimson-river-xezdc
import React from 'react';
import { Form, Select, Option } from 'informed';
export const MalfunctioningSelect = () => (
<Form>
<Select field="sampleSelect">
<Option value="value1">option1</Option>
<Option value="value2">option2</Option>
<Option value="value3">option3</Option>
</Select>
</Form>
);
Edge Version: Microsoft Edge 44.17763.1.0 Microsoft EdgeHTML 18.17763
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
Edge Autofill not working on <select> elements
Edge Autofill not working on <select> elements ; Open Microsoft Edge ; Click on the three dots (…) from the right top corner....
Read more >Common Microsoft Edge Problems, and How to Fix Them
Try clearing various Edge data by clicking the “…” button and choosing Settings. Then, click Choose What to Clear under Clear browser data,...
Read more >Select dropdown not working in Microsoft Edge browser
Please add <select> open tag. Preview In Edge. <select> <option value="" selected="">Pick a E-commerce</option> <option ...
Read more >How to fix Microsoft Edge problems on Windows 11 - YouTube
Interested in how to fix Microsoft Edge problems on Windows 11?This video will show you how to do it! Microsoft Edge is an...
Read more >bug(forms) Initial select option set to null not working on IE/ ...
I have the same issue. The current fix woud be to add an empty option as the first options list of the select...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I will look into this first thing tomorrow.
Thanks so much!