modus-web-components icon indicating copy to clipboard operation
modus-web-components copied to clipboard

Modus FileDropZone: Showing error on uploading wrong file

Open 29B-Logesh opened this issue 8 months ago • 3 comments

Prerequisites

Proposal

Currently, Filedropzone does not display any error message when an incorrect file format is uploaded, unlike Modus React Bootstrap. It is expected that an error message will be shown on the UI, similar to React Bootstrap.

Image

Motivation and context

We are using Modus React bootstrap filedropzone, there is an UI issue like there is an extra comma(',') at the end of the error message refer the image. While look into the web component we can't see any error showing like that

Image

What is the issue regarding ?

@trimble-oss/modus-web-components

Priority

Medium

What product/project are you using Modus Components for ?

FieldData

What is your team/division name ?

Central Product Development

Are you willing to contribute ?

Maybe

Are you using Modus Web Components in production ?

No response

29B-Logesh avatar Apr 15 '25 05:04 29B-Logesh

Hello @29B-Logesh! Thanks for opening an issue. The Modus core team will get back to you soon (usually within 24-hours) and provide guidance on how to proceed. Contributors are welcome to participate in the discussion and provide their input on how to best solve the issue, and even submit a PR if they want to.

Please wait until the issue is ready to be worked on before submitting a PR, or you can reach out to the core team if it is time bound. For trivial things, or bugs that don't change the expected behaviors and UI, you can go ahead and make a PR.

github-actions[bot] avatar Apr 15 '25 05:04 github-actions[bot]

Can you please confirm if this issue is with modus-react-components (which is built with modus-web-components, this repo) or trimble-oss/modus-react-bootstrap (which is no longer actively maintained)?

coliff avatar Apr 17 '25 12:04 coliff

Hi @coliff , I am saying that the feature is missing in the web component. In our project, we are using the Modus React Bootstrap file dropdown, and we faced an issue with an extra comma appearing when uploading the wrong file. Because of this, we planned to move to the web component. However, while looking into the web component, the error itself is not displayed. Since React Bootstrap is no longer maintained, I am requesting this feature in the web component.

29B-Logesh avatar Apr 21 '25 07:04 29B-Logesh