question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Select field broken on Microsoft Edge

See original GitHub issue

When 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:closed
  • Created 4 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
joepuzzocommented, Jun 19, 2019

I will look into this first thing tomorrow.

0reactions
Jared-Frenzelcommented, Jul 1, 2019

Thanks so much!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found