Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Show placeholder inside the selects with value equal to label #137

Open
maxceem opened this issue Mar 3, 2021 · 0 comments
Open

Show placeholder inside the selects with value equal to label #137

maxceem opened this issue Mar 3, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@maxceem
Copy link
Contributor

maxceem commented Mar 3, 2021

In our form we have a common logic:

  • When there is no value inside the field we are showing a placeholder inside the field and we don't show label

    image

  • When we put the cursor inside the field, we hide the placeholder and show the label above:

    image

  • This way user always know what value they should enter into the field

  • But for Selects we don't follow this logic, and if there is no value, then we just show word Select.. and we don't know what would we enter until we put cursor, see demo video https://monosnap.com/file/K9nOpSgwfeqVBYYEZOU4NWkjGB3d0Y

    image

  • So we have to make the same behaviour for Selects

    • note that we have 2 kinds of issues for selects, for one select we are showing label even though there is no value and no cursor. But it should work as other fields.
  • We should fix this for Job Edit page and for Resource Booking edit page

  • Make this generally configurable, we have to be able to pass placeholder the same way like we do for other fields.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant