Skip to content

Commit efe413e

Browse files
committed
(fix) bug with valid/focus state
1 parent fa2e3c9 commit efe413e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-input-ui",
3-
"version": "0.2.11",
3+
"version": "0.2.12",
44
"description": "A beautiful input made with Vue JS",
55
"author": "Louis Mazel <[email protected]>",
66
"scripts": {

src/VueInputUi/index.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
<div
33
ref="parent"
44
:class="[{
5-
'is-focused': isFocus || valid,
5+
'is-focused': isFocus,
6+
'is-valid': valid,
67
'has-value': value,
78
'has-error': error,
89
'is-disabled': disabled,

0 commit comments

Comments
 (0)