Skip to content

rx.selected_files should return file names instead of paths #5495

@bertbarabas

Description

@bertbarabas

Currently for at least Chrome, Edge & Brave browsers the path is always just the file name prefixed with ./

I use selected_files to display the selected files on the UI and the ./ prefix just adds confusion so I end up checking for it and removing it every-time.

It'd be fine if selected_files would offer the choice of path or file name.

Also the id of the selected_files(id) only works if it is passed as a literal string. It should work if it is a var.

Metadata

Metadata

Assignees

Labels

enhancementAnything you want improved

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions