console icon indicating copy to clipboard operation
console copied to clipboard

🐛 Bug Report: Placeholder Shown in the Allowed File Extensions Input

Open ItzNotABug opened this issue 10 months ago • 4 comments

👟 Reproduction steps

  1. Go to your Project on Console
  2. Go to Storage > Settings Tab
  3. Scroll to Allowed file Extensions and Click on the extensions below to add them
  4. Notice that the placeholder text i.e. "Allowed file extensions (mp4, jpg, pdf, etc.)" moves to the right of the items added

👍 Expected behavior

Hide, remove the placeholder when the input is not empty.

👎 Actual Behavior

Placeholder is shown even when the input is not empty.

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Linux

🧱 Your Environment

Reproducible on Cloud & 1.5.x

👀 Have you spent some time to check if this issue has been raised before?

  • [X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

ItzNotABug avatar Apr 08 '24 12:04 ItzNotABug

That is just a helper text I don't see a bug in that, it is moreover an improvement rather than a bug imo

sourabpramanik avatar Apr 09 '24 15:04 sourabpramanik

@sourabpramanik A helper text or a placeholder is usually hidden when an input contains some form of text. This one keeps moving to the right which isn't something standard imo.

ItzNotABug avatar Apr 09 '24 15:04 ItzNotABug

@sourabpramanik A helper text or a placeholder is usually hidden when an input contains some form of text.

Agreed for text type input fields this is not the right approach but for multi-select options like this one, this makes more sense. Maybe we can add a sub-label along with the placeholder and remove the placeholder if the field is not empty

sourabpramanik avatar Apr 09 '24 15:04 sourabpramanik

Can reproduce and would like to work on it if it is deemed a bug as above discussion

FatumaA avatar May 08 '24 20:05 FatumaA