Skip to content

Commit 9daa006

Browse files
committed
fix(MdDialog): make prompt dialogs to work with v-model
1 parent f31b353 commit 9daa006

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/MdDialog/MdDialogPrompt/MdDialogPrompt.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<md-dialog v-bind="$attrs" v-on="$listeners" :md-fullscreen="false" @md-opened="setInputFocus">
2+
<md-dialog v-bind="$attrs" :md-fullscreen="false" @md-opened="setInputFocus">
33
<md-dialog-title v-if="mdTitle">{{ mdTitle }}</md-dialog-title>
44
<md-dialog-content v-if="mdContent" v-html="mdContent" />
55

@@ -27,7 +27,7 @@
2727
export default {
2828
name: 'MdDialogPrompt',
2929
props: {
30-
value: [String, Number],
30+
value: {},
3131
mdTitle: String,
3232
mdInputName: String,
3333
mdInputId: String,

0 commit comments

Comments
 (0)