Skip to content
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

[BUGFIX beta] File element type #14753

Merged
merged 1 commit into from
Jul 24, 2017
Merged

Conversation

anon4562
Copy link
Contributor

You cannot create an element and change it's type from * to "file".

See: #14727 for more details

@stefanpenner
Copy link
Member

@anon4562 sorry for letting this sit, can you add a test?

@homu
Copy link
Contributor

homu commented Mar 14, 2017

☔ The latest upstream changes (presumably #15002) made this pull request unmergeable. Please resolve the merge conflicts.

@Serabe
Copy link
Member

Serabe commented Jul 19, 2017

Rebased and added a test. The problem cannot be reproduced in Safari 10.1.2 though.

@Serabe
Copy link
Member

Serabe commented Jul 19, 2017

Something went really wrong with the tests. Into it.

@Serabe
Copy link
Member

Serabe commented Jul 19, 2017

My test was wrong. I was testing that an input element can change from any type to file type while the issue was testing the type is supported. I changed this to render two inputs, being the file one the second one.

Sorry!

When testing allowed input types, in some versions of Safari the type
cannot be change to `file` if previously set to a different one.

Fixes emberjs#14727
@locks locks changed the title File element type [BUGFIX beta] File element type Jul 24, 2017
@locks locks merged commit 1ade5c7 into emberjs:master Jul 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants