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
What does this mean exactly? I read as if this prop makes a radiogroup switch between horizontal and vertical layout. But that's already covered by the inline prop.
Switching this prop from undefined to horizontaldoesn't make any discernable difference to me. Changing it to vertical makes the text vertical, as if to apply vertical text rendering to the CSS of the labels.
I really don't think the direction prop has any place in the v-radio-group, because:
It is confusing, as it suggests layout of the radio buttons, rather than text direction.
Text direction is seldom used at this level of an application. It is typically used at a (much) higher level to put everything in vertical rendering, not only a set of radio buttons.
This can be (and most likely is) easily solved using CSS applied to a parent/descendant element.
If you guys really believe this prop belongs here, then with respect, I'd hope you guys to:
Update the documentation to clearly describe its intended function and purpose.
Rename it to text-direction or something else more self-explanatory.
Add it to every component, as it doesn't make sense to have something so oddly specific only on an arbitrary subset of components.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
See here:
https://vuetifyjs.com/en/api/v-radio-group/#props-direction
What does this mean exactly? I read as if this prop makes a radiogroup switch between horizontal and vertical layout. But that's already covered by the
inline
prop.Switching this prop from undefined to
horizontal
doesn't make any discernable difference to me. Changing it tovertical
makes the text vertical, as if to apply vertical text rendering to the CSS of the labels.I really don't think the
direction
prop has any place in the v-radio-group, because:If you guys really believe this prop belongs here, then with respect, I'd hope you guys to:
text-direction
or something else more self-explanatory.Beta Was this translation helpful? Give feedback.
All reactions