vuetify
vuetify copied to clipboard
[Bug Report] The label is crossed out with border in VTextField with outlined property, if label is updated dynamically and v-model has value
Environment
Vuetify Version: 2.0.3 Vue Version: 2.6.10 Browsers: Chrome 75.0.3770.142 OS: Mac OS 10.14.5
Steps to reproduce
- Create a v-text-field with outlined property:
<v-text-field
:label="theLabel"
v-model="theModel"
outlined
></v-text-field>
- Configure the component:
public theModel: string = 'Some value';
public theLabel: string | null = null;
// When the component is created set the timeout to change theLabel value (i. e. fetching from server takes time)
public created() {
const that = this;
setTimeout(() => that.theLabel = 'Input name', 3000);
}
Expected Behavior
It shouldn't cross out the label.
Actual Behavior
It crosses out the label if the label updated dynamically and the v-model has some value.
Reproduction Link
Duplicate of https://github.com/vuetifyjs/vuetify/issues/7470
I am still having this isssue. Did someone here figure out how to fix the crossed out label

Yeah. It seems that you only need a text input with a label and a prepend inner icon to see this happen.
I don't use prepend inner icon anymore.