Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] VTextField ability to disable size="1" #19818

Open
jakeflorentine opened this issue May 15, 2024 · 5 comments
Open

[Feature Request] VTextField ability to disable size="1" #19818

jakeflorentine opened this issue May 15, 2024 · 5 comments
Labels
P: low The issue is of low importance S: triage

Comments

@jakeflorentine
Copy link

Problem to solve

The current application of size="1" to the VTextField does not allow for the VTextField to auto-grow inside of a v-col with the auto prop on it. This is different behavior from Vue2. It would be nice to have the ability to have the previous functionality optionally.

Proposed solution

add an "autoGrow" prop to VTextField which optionally sets size to null instead of 1

@jakeflorentine
Copy link
Author

image

@yuwu9145
Copy link
Member

yuwu9145 commented May 16, 2024

@yuwu9145
Copy link
Member

yuwu9145 commented May 16, 2024

Although we could look into the possibility of removing default size={ 1 }, the best practice of using v-col is really explicitly define columns as opposed to allowing every column to auto-grow. The latter results in very fragile layout outcome which would be impacted by many other factors.

@yuwu9145 yuwu9145 added P: low The issue is of low importance and removed S: triage labels May 16, 2024
@jakeflorentine
Copy link
Author

The goal here would not be to remove size=1, rather, to provide a prop to VTextField allowing the size to be nullified. This keeps default behavior, yet provides ease in migration from Vue 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: low The issue is of low importance S: triage
Projects
None yet
Development

No branches or pull requests

2 participants