Open traviskaufman opened 7 years ago
@sgomes do we want to prioritize this?
@traviskaufman Sounds useful. Should we run it by the designers first, to make sure this is a good pattern?
@sgomes definitely; it needs design guidance for sure. I know that part of the design team is working on forms in general, and I've let them know about our considerations for file inputs, so they might be tackling this already.
It is unlikely that we will implement this any time soon (if ever), for a number of reasons:
Any news on this?
I assume people working on PWA:s really need this. Any news?
After four years ... Any news?
I guess that what most people are doing now is making an <input type="file">
with opacity: 0
and putting that over something shown to the user. Why not support that? It can't be much work, or?
Hm.. Don't think that 'design-guidance' is really needed. It would be nice to be able to simply change \<button> to \<input> and have all beautiful material styles apply just like to a normal button. (I commonly change \<button> for \<a> tag and it works fine, hope same is possible for \<input>)
Currently only text input fields will be styled. It would be great to support the styling of file input fields.
If you decide not to support this, than no styling should be done. Because currently it will be styled and the label is over the uplaod button.