Skip to content

Commit 13cfb26

Browse files
authored
Merge pull request #70 from creativetimofficial/feature/v2.0.1
Feature/v2.0.1
2 parents 946a899 + cdd3208 commit 13cfb26

File tree

7 files changed

+12
-9
lines changed

7 files changed

+12
-9
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## [2.0.1] - 2021-09-17
2+
- Fix Inputs v-model
3+
14
## [2.0.0] - 2021-02-22
25
### Vue 3 Update
36
- Compatibility with new Vuejs 3

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44

5-
![version](https://img.shields.io/badge/version-2.0.0-blue.svg) ![license](https://img.shields.io/badge/license-MIT-blue.svg) [![GitHub issues open](https://img.shields.io/github/issues/creativetimofficial/vue-argon-dashboard.svg?maxAge=2592000)](https://github.com/creativetimofficial/vue-argon-dashboard/issues?q=is%3Aopen+is%3Aissue) [![GitHub issues closed](https://img.shields.io/github/issues-closed-raw/creativetimofficial/vue-argon-dashboard.svg?maxAge=2592000)](https://github.com/creativetimofficial/vue-argon-dashboard/issues?q=is%3Aissue+is%3Aclosed) [![Join the chat at https://gitter.im/NIT-dgp/General](https://badges.gitter.im/NIT-dgp/General.svg)](https://gitter.im/creative-tim-general/Lobby) [![Chat](https://img.shields.io/badge/chat-on%20discord-7289da.svg)](https://discord.gg/E4aHAQy)
5+
![version](https://img.shields.io/badge/version-2.0.1-blue.svg) ![license](https://img.shields.io/badge/license-MIT-blue.svg) [![GitHub issues open](https://img.shields.io/github/issues/creativetimofficial/vue-argon-dashboard.svg?maxAge=2592000)](https://github.com/creativetimofficial/vue-argon-dashboard/issues?q=is%3Aopen+is%3Aissue) [![GitHub issues closed](https://img.shields.io/github/issues-closed-raw/creativetimofficial/vue-argon-dashboard.svg?maxAge=2592000)](https://github.com/creativetimofficial/vue-argon-dashboard/issues?q=is%3Aissue+is%3Aclosed) [![Join the chat at https://gitter.im/NIT-dgp/General](https://badges.gitter.im/NIT-dgp/General.svg)](https://gitter.im/creative-tim-general/Lobby) [![Chat](https://img.shields.io/badge/chat-on%20discord-7289da.svg)](https://discord.gg/E4aHAQy)
66

77

88
![Product Gif](https://raw.githubusercontent.com/creativetimofficial/public-assets/master/vue-argon-dashboard/vue-argon-dashboard.gif)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-argon-dashboard",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"private": true,
55
"scripts": {
66
"serve": "vue-cli-service serve",

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!--
22
33
=========================================================
4-
* Vue Argon Dashboard - v2.0.0
4+
* Vue Argon Dashboard - v2.0.1
55
=========================================================
66
77
* Product Page: https://www.creative-tim.com/product/vue-argon-dashboard

src/assets/scss/argon.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
33
=========================================================
4-
* Vue Argon Dashboard - v2.0.0
4+
* Vue Argon Dashboard - v2.0.1
55
=========================================================
66
77
* Product Page: https://www.creative-tim.com/product/vue-argon-dashboard

src/components/BaseInput.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@
2727
</div>
2828
<slot>
2929
<input
30-
:value="value"
30+
:value="modelValue"
3131
v-bind="$attrs"
32+
v-on="listeners"
3233
class="form-control"
3334
:class="[
3435
{ 'is-valid': valid === true },
@@ -92,7 +93,7 @@ export default {
9293
type: String,
9394
description: "Input css classes",
9495
},
95-
value: {
96+
modelValue: {
9697
type: [String, Number],
9798
description: "Input value",
9899
},
@@ -113,7 +114,6 @@ export default {
113114
computed: {
114115
listeners() {
115116
return {
116-
...this,
117117
input: this.updateValue,
118118
focus: this.onFocus,
119119
blur: this.onBlur,
@@ -132,7 +132,7 @@ export default {
132132
methods: {
133133
updateValue(evt) {
134134
let value = evt.target.value;
135-
this.$emit("input", value);
135+
this.$emit("update:modelValue", value);
136136
},
137137
onFocus(value) {
138138
this.focused = true;

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
33
=========================================================
4-
* Vue Argon Dashboard - v2.0.0
4+
* Vue Argon Dashboard - v2.0.1
55
=========================================================
66
77
* Product Page: https://www.creative-tim.com/product/vue-argon-dashboard

0 commit comments

Comments
 (0)