From e36d28e6adc0e5806c4623ad7ffa133b6a71cbbf Mon Sep 17 00:00:00 2001 From: Marcos Moura Date: Mon, 23 Jan 2017 23:47:11 -0200 Subject: [PATCH] fix radio parsing md-value wrongly #378 --- src/components/mdRadio/mdRadio.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/mdRadio/mdRadio.vue b/src/components/mdRadio/mdRadio.vue index 6f8e8ec..ae1c142 100644 --- a/src/components/mdRadio/mdRadio.vue +++ b/src/components/mdRadio/mdRadio.vue @@ -31,7 +31,7 @@ computed: { classes() { return { - 'md-checked': this.value && this.mdValue.toString() === this.value.toString(), + 'md-checked': typeof this.value !== 'undefined' && this.mdValue.toString() === this.value.toString(), 'md-disabled': this.disabled }; }