question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: Right-justify the content and label of a <v-text-field>

See original GitHub issue

Most financial software have a need for numeric/currency text fields. Those text fields are by convention right-justified. Today that seems impossible to fix easily with Vuetify without resorting to overriding the style

Example: <v-text-field v-model="withdrawal" label="Withdrawal" justify-right />

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:6
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
valpetcommented, Jun 10, 2018

This feature request and #4006 are not duplicates. #4006 requests having the label moved to the left, outside of the textfield.

I want the text of the underlying input field right justified, aligned to the right-side border of the input field. For esthetic purposes, the label should align to the same side. This is what it looks like now: 1

This is how I want it to look like: 2

Adding a text-align: right to the component as suggested do not solve the issue. It needs to be done on the underlying input field but I am not happy about having to override the styles of the components myself as that may lead to maintenance issues further down the road.

I checked out #3531 but could not quite determine if that would help me. I tried adding right as an attribute to my component but that did nothing. I’m on version 1.0.18

5reactions
ihteshamqazicommented, Mar 23, 2019

Is there any update on this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Text field component - Vuetify
Text fields components are used for collecting user provided information. # Usage. A simple text field with placeholder and/or label.
Read more >
How to disable a form in vuetify? - Stack Overflow
<v-text-field v-model="firstname" :disabled="true" ... [Feature Request] disable prop for v-form that disables all child input elements.
Read more >
C# "Textchanged" Event And Infinite Loop? - ADocLib
Draganddrop is one of those programming features rarely listed in the user requirements document. C# update two text boxes at the same time?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found