Megabit / Blazorise

Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Tailwind, Bulma, AntDesign, and Material.
https://blazorise.com/
Other
3.18k stars 517 forks source link

[Bug]: FileEdit button text is empty before selection, file name after selection #5561

Closed BravermanMillimanCRS closed 2 weeks ago

BravermanMillimanCRS commented 3 weeks ago

Blazorise Version

1.5.3

What Blazorise provider are you running on?

Bootstrap5

Link to minimal reproduction or a simple code snippet

https://blazorise.com/docs/components/file

Steps to reproduce

The current Blazorise documentation for FileEdit displays the behavior.

What is expected?

Before selecting a file, the button should have text indicating the user should select a file. The text should not change afterward.

What is actually happening?

The button has no text before file selection, then displays the file name after. FileEdit before selection FileEdit after selection

What browsers do you see the problem on?

Chrome, Microsoft Edge

Any additional comments?

This behavior first appeared in Blazorize (Bootstrap5) v1.5.3. It is not present, for example, on earlier Blazorise documentation pages: https://v14x.blazorise.com/docs/components/file

This behavior appears on all tested platforms.