You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to allow the user to remove a file added with RichPicker ?
Why not have a little cross over the image that resets the form field value, just like it's done in the picker itself ?
Or add a "no image" choice in the picker ?
I know one can hack his own solution but why not embed this since it's I think a pretty common need ?
The text was updated successfully, but these errors were encountered:
Since I need it for my app I made a working implementation of the first idea: show the same image/filename/delete link combo below the preview image as there is in the picker itself.
The thing is I did it for the SimpleForm branch mentionned in a pull request, as I don't use Formtastic. But most of the logic is not related to the inputs anyway. You can check it out here : Projets2Coeur@4673cdc
Also, to have the same styles as in the editor I had to use this bit of sass:
How to allow the user to remove a file added with RichPicker ?
Why not have a little cross over the image that resets the form field value, just like it's done in the picker itself ?
Or add a "no image" choice in the picker ?
I know one can hack his own solution but why not embed this since it's I think a pretty common need ?
The text was updated successfully, but these errors were encountered: