Polaris-react: Feature request: add a file upload form component

Created on 5 May 2017  路  23Comments  路  Source: Shopify/polaris-react

Issue summary

Would like a file form element component

Expected behavior

Be able to add a file upload field to a form using a Polaris React component

Actual behavior

There's nothing in the documentation at https://polaris.shopify.com/components/ to explain how to add a file upload field to a form using Polaris components.

Most helpful comment

Thanks for the issue, @robbiebow. We are working on a FileUpload component, and it should be part of a release sometime in the next few weeks. I'll update this issue once we have made some progress on this.

All 23 comments

Yes, would be nice!

Thanks for the issue, @robbiebow. We are working on a FileUpload component, and it should be part of a release sometime in the next few weeks. I'll update this issue once we have made some progress on this.

Marvellous news, @lemonmade - looking forward to seeing it :)

+1

+1

@lemonmade any advance on this?

We are still looking through exactly what API we will expose for this, but it is in progress.

+1

@lemonmade any update on this?

updates?

@lemonmade we really need this. Please consider adding it sooner rather than later.

Hi @zsavicreative and @rkbhochalya, this is actively being worked on so hopefully it will be complete sooner than later.

@tmlayton Appreciated. I'd offer my time, but the truth is I'm a nub still learning the ropes. However I'm confident of there being countless master minds floating around here that would be more then happy to lend a helping hand if time or being too busy is the case.

@lemonmade any update on this new component?

Hi @mattchidley, we are currently going through design iterations and targeting v2.0.0 as the release which contains this component.

@tmlayton thanks for the update, do you have a set release date for v2.0.0?

馃憢 @b0123498765 we are looking to have a prerelease for v2.0.0 out in January

HI @tmlayton - any update on this component?

@tmlayton looks like you have removed it from v2.0 milestone 馃槥 We really need this component for our app. Do you have a new ETA?

Thanks for the follow up @b0123498765 and @rkbhochalya. We had removed this from the v2.0 milestone because it wasn't looking like we'd be done in time. Although we've been making good progress so I just re-added it.

So an HTML File Uploader component takes at least 240+ days for a commercial entity with full-time staff and talent to design, test and deliver in React. That should put to rest forever the efficiency of React!

We have a new Drop zone component which can handle drag and drop file uploads available in the v2.0.0 beta.

You can find the docs and examples for it here on the beta style guide: https://polaris-v2.shopify.com/components/actions/drop-zone

Going to go ahead and close this now that the v2.0 release candidate is out that includes the Drop zone component.

Was this page helpful?
0 / 5 - 0 ratings