Skip to content

Commit 28e4476

Browse files
author
Hamed
committed
- fix: distinguish checkbox from radio (#11)
1 parent a0d9ebd commit 28e4476

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PrettyInput.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@
183183
this.default_mode = true;
184184
if (this._indeterminate)
185185
this.$refs.input.indeterminate = true;
186+
this.$el.setAttribute(`p-${this._type}`, '');
186187
},
187188
188189
methods: {

0 commit comments

Comments
 (0)