Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builder v2: Files field: Add clear and Delete option #250

Open
Timo-Breumelhof opened this issue Nov 21, 2024 · 0 comments
Open

Builder v2: Files field: Add clear and Delete option #250

Timo-Breumelhof opened this issue Nov 21, 2024 · 0 comments

Comments

@Timo-Breumelhof
Copy link
Collaborator

Timo-Breumelhof commented Nov 21, 2024

In some cases you only want a user to be able to upload a unique document and the "old versions" should not be kept on the server.

Let's say we want a users motivation letter.

In that case you want to be able top add the letter, replace the letter an delete it from the server.

I suggest to add an option "replaceFile" which will delete the previous version when you upload a new one.
I do think a warning would be in place in this case (do you want to replace the document).
So that warning would also show when the filenames are not he same.
It would also have to delete the existing file if you clear the field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant