Closed tim-stasse closed 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.
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.