-
-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix(VField/VInput): centerAffix doesn't work for underlined/plain #20064
Conversation
@johnleider See if you were satisfied with the API description/usage change, I will handle the technical part and make sure no regression |
Looks good. Not related to anything you've done, but the prepend-inner icon is really tight on the edge of the input. Is that by design or not intentional? |
@@ -42,7 +42,7 @@ export const makeVInputProps = propsFactory({ | |||
appendIcon: IconValue, | |||
centerAffix: { | |||
type: Boolean, | |||
default: true, | |||
default: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If default is false, can just do centerAffix: Boolean
which defaults to false.
Hi @yuwu9145 |
Automatically apply singleLine under the hood, and vertically align appendInner, prependInner, clearIcon, label and input field in the center.
Description
Markup: