I am trying to make a form in elm that would be able to upload a picture and some accompanying data.
Right now all my fields are updating my model via the onInput
function, and I when I press the submit button I send my data as JSON via the Http.post
function. If I understand well this is the idiomatic way of doing forms in elm.
Is there a way to add file uploading capabilities to this kind of form? If possible I would like to keep control in the elm app without resorting to the standard html elements to do submitting.