webiny-js icon indicating copy to clipboard operation
webiny-js copied to clipboard

[Headless CMS] Wrong label on file field input

Open Pavel910 opened this issue 3 years ago • 0 comments

What steps will reproduce the bug?

Create a new content model, and add a File field. Switch to the Preview tab, and you'll see Select an image label. This is wrong, because it assumes that only an image can be selected, but in fact, it can be any asset.

image

What is the expected behavior?

I guess a better label would be Select a file or Select an asset. If the File field is configured to only allow images, then we can use the Select an image label.

Pavel910 avatar May 07 '22 17:05 Pavel910