FlowFuse / FlowFuse/node-red-dashboard

Dashboard 2 File input/Accept section Bug(I believe)

Open
#1,577 1 comment 0 reactions 0 assignees View on GitHub
size:S type:bug
Dominant language
HTML
Stars
355
Forks
82
Avg merge
4d 23h
Merged PRs (30d)
24

Description

### Current Behavior

When I setup File input node and set the accept field to ".bin", the file browser type field after clicking on the field to select file to upload is ▯▯▯▯▯▯▯▯▯▯▯▯▯, which is so long that actually lags. If I for example type .bin, .json in the accept field of the node, everything runs fine.

### Expected Behavior

Typing .bin file into the accept field of input node will show ".bin" instead of "▯▯▯▯▯▯▯▯▯▯ ....." in the file type selector of the browser when clicking to upload file.

### Steps To Reproduce

Setup File Input node on a page and set the Accept field of the node to ".bin" only and open the file browser from the web browser page where the node is set to operate on. The file type in the file browser should be "▯▯▯▯▯▯▯....." instead of ".bin".

### Environment

- Dashboard version:v.1.21.0
- Node-RED version: v.4.0.8
- Node.js version:v.18.20.5
- npm version:v10.8.2
- Platform/OS:Nodered server on Ubuntu/ Testing from Windows on Chrome
- Browser:Chrome

### Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.