File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed
Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 55 <md-ink-ripple :md-disabled =" disabled" />
66 </div >
77
8- <label :for =" id || name" class =" md-checkbox-label" v-if =" $slots.default" @click =" toggleCheck" >
8+ <label :for =" id || name" class =" md-checkbox-label" v-if =" $slots.default" @click.prevent =" toggleCheck" >
99 <slot ></slot >
1010 </label >
1111 </div >
2727 mixins: [theme],
2828 data () {
2929 return {
30- checked: this .value
30+ checked: this .value || false
3131 };
3232 },
3333 computed: {
Original file line number Diff line number Diff line change 4242 props: {
4343 value: Array ,
4444 disabled: Boolean ,
45+ debounce: {
46+ type: Number ,
47+ default: 1E2
48+ },
4549 mdInputId: String ,
4650 mdInputName: String ,
4751 mdInputPlaceholder: String ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ export default {
33 value : [ String , Number ] ,
44 debounce : {
55 type : Number ,
6- default : 3E2
6+ default : 1E2
77 } ,
88 disabled : Boolean ,
99 required : Boolean ,
Original file line number Diff line number Diff line change 44
55 <span class =" md-count" v-if =" enableCounter" >{{ inputLength }} / {{ counterLength }}</span >
66
7- <md-button tabindex =" -1" class =" md-icon-button md-toggle-password" @click =" togglePasswordType" v-if =" mdHasPassword" >
7+ <md-button tabindex =" -1" class =" md-icon-button md-toggle-password" @click.prevent =" togglePasswordType" v-if =" mdHasPassword" >
88 <md-icon >{{ showPassword ? 'visibility_off' : 'visibility' }}</md-icon >
99 </md-button >
1010
You can’t perform that action at this time.
0 commit comments