mdelobelle / metadatamenu

For data management enthusiasts : type and manage the metadata of your notes.
https://mdelobelle.github.io/metadatamenu
MIT License
478 stars 27 forks source link

[FR] Deselect file in singlefilemodal #584

Closed renekalff closed 4 months ago

renekalff commented 4 months ago

Currently it is not possible to "deselect" the value of the file field type. The multifile field modal has a button to empty the value. I think it would be the most consistent to have the same button on the singlefilemodel.

An other option would be to be able to "deselect" the currently selected file so clicking on the file with the checkmark behind it. The current behaviour is that it stays selected. This would probably also require that the currently selected file is always on the top of the list to assist in deselecting it.

mdelobelle commented 4 months ago

fair point. I'll add that in the next version