appwrite / console

The Console that makes Appwrite tick from the browser 🖥
https://appwrite.io
BSD 3-Clause "New" or "Revised" License
332 stars 142 forks source link

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

Open ItzNotABug opened 7 months ago

ItzNotABug commented 7 months ago

👟 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?

🏢 Have you read the Code of Conduct?

sourabpramanik commented 7 months ago

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

ItzNotABug commented 7 months ago

@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.

sourabpramanik commented 7 months ago

@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

FatumaA commented 6 months ago

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