Skip to content

Download type has no "none selected" default, nor a way to un-associate a file #94

Open
@dgingold

Description

Describe the bug

Add a field of type "Download". On the next record you add or edit, in the spot where you select the file to link to, you'll see a file selector with the folder set to "root" and the file set to the 1st file alphabetically in your root folder. There's no "please select" or "none selected" to indicate that for this record there is no file to link to. When you save the record, that 1st file will be associated with the record.

To Reproduce

  1. add a record of type "download"
  2. edit an existing record or add a new record (either produce the same problem)
  3. save the record
  4. the 1st file in the root will be associated with this record. there's no way to have no file associated with the record.

Expected behavior

If the 1st choice in the file list is "none selected", and if upon saving there would be no file associated with the record, that would be good. I've also seen other techniques like photo in the profile editor where there's a button to delete associated photo. that'd be ok too.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions