Skip to content

BUG: flux.field.file can not be cleared / removed in the backend (configuration) #2194

@JarekYaro

Description

@JarekYaro

I have checked that the bug exists in the dev-development branch
Yes
I have checked that there are no already open issues or recently closed issues about this bug
Yes

Describe the bug
There is no "x" Symbol or any other option to clear the previous chosen image or icon in backend using the <flux:field.file .../>. Even the backspace key doesn't work. After clicking on an eye-icon, the whole field disappears.

To Reproduce
Under <f:section name="Configuration"> use flux:form, then flux:form.section and flux:form.object to use <flux:field.file name="buttonIcon" label="Icon für den Button" allowed="svg" useFalRelation="1" showThumbnails="1" maxItems="1"></flux:field.file>

Expected behavior
On click on the input field a x-symbol should appear. On click on the x-symbol you should be able to clear the chosen file.

Screenshots
Ausgewählt November 14 2024 10:09:45

Metadata

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