Feature request: Prefill image
tyler36 opened this issue · comments
I'd like to be able to prefill the image area.
- Create a article with a main picture.
- Edit the article and the input box is pre-filled with main picture.
Article?
Sorry ... My main model is an article -> article has a master picture.
So in my example, my create form will make an article with a title etc. and image (using vue-picture-input').
Later, if I want to edit said article using the same form template, I'd like to be able to pass through the file location string. This would draw the image, where I could use the remove / change button.
I have finally added an optional prefill prop that you can use to specify a default initial picture.
Let me know if it works for you! @tyler36
Thanks for the update and sorry for slow response (end-of-month crazy)
Works perfectly!.