vnbaaij / umbraco7-filepicker

File Picker Property Editor for Umbraco V7
MIT License
8 stars 5 forks source link

Select multiple files #11

Closed tim-stasse closed 8 years ago

tim-stasse commented 8 years ago

I made these changes and tested them using umbraco 7.3.4. I think it should work with umbraco 7.4.x.

All I've done is made the model value an array, instead of a single string, which allows adding multiple files to the file picker.

The value of the content (e.g. IPublishedContent.Value) in mvc, is a json string, easily deserialized into a string array.