Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit 3b40325

Browse files
tychenjiajunmatsp
authored andcommitted
fix: update label position when value is added in an empty text field (#212)
fixes issue #140
1 parent 7c013e5 commit 3b40325

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/text-field/TextField.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ export default {
123123
},
124124
valid () {
125125
this.mdcTextField.valid = this.valid
126+
},
127+
value () {
128+
this.mdcTextField.value = this.value
126129
}
127130
},
128131
mounted () {

0 commit comments

Comments
 (0)