You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when setting both placeholder and label to a v-text-field, both are shown in the beginning and the label is stuck in the top.
To achieve the default behavior shown in most sites (show the placeholder only when is focused if there is a label) you would need to make use of data and custom methods to handle those change
Proposed solution
add a persistent-placeholder prop set to true on default so we can set it to false to achieve a more user-friendly behavior.
The text was updated successfully, but these errors were encountered:
Pretty easy to implement:
I don't like the idea of adding more props though, I'd be more inclined to make this the default behaviour at risk of maybe breaking forms expecting both to be shown. The current behaviour can be confusing as the placeholder looks very similar to typed text, so that should be discouraged anyway.
resolves#12499
Having both label and placeholder displayed can be a usability problem
as the placeholder looks very similar to typed text and could be
confused with user input at a glance
)
resolves#12499
Having both label and placeholder displayed can be a usability problem
as the placeholder looks very similar to typed text and could be
confused with user input at a glance
Problem to solve
when setting both placeholder and label to a v-text-field, both are shown in the beginning and the label is stuck in the top.
To achieve the default behavior shown in most sites (show the placeholder only when is focused if there is a label) you would need to make use of data and custom methods to handle those change
Proposed solution
add a
persistent-placeholder
prop set to true on default so we can set it to false to achieve a more user-friendly behavior.The text was updated successfully, but these errors were encountered: