From d21a65c4f0c4d71a5553601d9039bbea140c4197 Mon Sep 17 00:00:00 2001 From: Gabriel Albacarys Date: Fri, 25 Aug 2017 09:37:46 -0700 Subject: [PATCH] Removing `class` property from DatePicker. Props named `class` aren't allowed in Vue.js since it's a reserved propname, and there's no reason to do it anyway as it isn't used anywhere in the component. It should be removed to silence the warning when using the component. Resolves #81. --- src/components/datepicker/Datepicker.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/datepicker/Datepicker.vue b/src/components/datepicker/Datepicker.vue index b7eeb8c..d9ddf23 100644 --- a/src/components/datepicker/Datepicker.vue +++ b/src/components/datepicker/Datepicker.vue @@ -30,7 +30,6 @@ export default { placeholder: String, val: String, value: {}, - class: String, }, data() {