Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

Commit 02189fe

Browse files
committed
Fixed textbox floated active state
1 parent 85914de commit 02189fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Textbox/main.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export default {
150150
return [
151151
`textbox--size-${this.size}`,
152152
{ 'textbox--floated': this.floated },
153-
{ 'textbox--floated-active': this.floated && this.value !== '' },
153+
{ 'textbox--floated-active': this.floated && this.nativeInputValue !== '' },
154154
{ 'textbox--wide': this.wide },
155155
{ 'textbox--error': this.error },
156156
];

0 commit comments

Comments
 (0)