Skip to content

Improve flexibility of UFileUpload #5798

@qlampa

Description

@qlampa

Package

v4.x

Description

Currently the capabilities are severely limited to using a File instance as a model value. If we need to "update" files (for example, some files are URLs, while others are actual File's), which is pretty common use-case (e.g. avatar, product images etc), the current implementation doesn't provide a way to do so. This is also impossible with slots as they check for the presence of items and prevent the slot from rendering if they don't exist.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageAwaiting initial review and prioritizationv4#4488

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions