Skip to content

Commit

Permalink
Merge pull request #70 from creativetimofficial/feature/v2.0.1
Browse files Browse the repository at this point in the history
Feature/v2.0.1
  • Loading branch information
rarestoma authored Sep 17, 2021
2 parents 946a899 + cdd3208 commit 13cfb26
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## [2.0.1] - 2021-09-17
- Fix Inputs v-model

## [2.0.0] - 2021-02-22
### Vue 3 Update
- Compatibility with new Vuejs 3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@



![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)
![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)


![Product Gif](https://raw.githubusercontent.com/creativetimofficial/public-assets/master/vue-argon-dashboard/vue-argon-dashboard.gif)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-argon-dashboard",
"version": "2.0.0",
"version": "2.0.1",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
=========================================================
* Vue Argon Dashboard - v2.0.0
* Vue Argon Dashboard - v2.0.1
=========================================================
* Product Page: https://www.creative-tim.com/product/vue-argon-dashboard
Expand Down
2 changes: 1 addition & 1 deletion src/assets/scss/argon.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
=========================================================
* Vue Argon Dashboard - v2.0.0
* Vue Argon Dashboard - v2.0.1
=========================================================
* Product Page: https://www.creative-tim.com/product/vue-argon-dashboard
Expand Down
8 changes: 4 additions & 4 deletions src/components/BaseInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@
</div>
<slot>
<input
:value="value"
:value="modelValue"
v-bind="$attrs"
v-on="listeners"
class="form-control"
:class="[
{ 'is-valid': valid === true },
Expand Down Expand Up @@ -92,7 +93,7 @@ export default {
type: String,
description: "Input css classes",
},
value: {
modelValue: {
type: [String, Number],
description: "Input value",
},
Expand All @@ -113,7 +114,6 @@ export default {
computed: {
listeners() {
return {
...this,
input: this.updateValue,
focus: this.onFocus,
blur: this.onBlur,
Expand All @@ -132,7 +132,7 @@ export default {
methods: {
updateValue(evt) {
let value = evt.target.value;
this.$emit("input", value);
this.$emit("update:modelValue", value);
},
onFocus(value) {
this.focused = true;
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
=========================================================
* Vue Argon Dashboard - v2.0.0
* Vue Argon Dashboard - v2.0.1
=========================================================
* Product Page: https://www.creative-tim.com/product/vue-argon-dashboard
Expand Down

0 comments on commit 13cfb26

Please sign in to comment.