From 2c171450af3a796a94277e5cf3136bf79c3f941c Mon Sep 17 00:00:00 2001 From: Guillaume Rouxel Date: Tue, 25 Oct 2016 11:48:22 +0200 Subject: [PATCH] default 'type' value is now 'button' --- src/components/mdSwitch/mdSwitch.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/mdSwitch/mdSwitch.vue b/src/components/mdSwitch/mdSwitch.vue index d3c6a46..549ef50 100644 --- a/src/components/mdSwitch/mdSwitch.vue +++ b/src/components/mdSwitch/mdSwitch.vue @@ -25,7 +25,10 @@ value: Boolean, id: String, disabled: Boolean, - type: String + type: { + type: String, + default: 'button' + } }, data() { return {