Skip to content

Commit 32ea7b1

Browse files
authored
Merge pull request #57 from fr-ser/fix_prompt_enter_bug
add defaultdata to submitDialogForm
2 parents e4b042e + 43f89a2 commit 32ea7b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/plugin/js/mixins/dialog-mixin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default {
6363
this.options.reverse ? this.proceed(this.getDefaultData()) : this.cancel()
6464
},
6565
submitDialogForm () {
66-
this.okBtnDisabled || this.proceed()
66+
this.okBtnDisabled || this.proceed(this.getDefaultData())
6767
},
6868
getDefaultData () {
6969
return this.isPrompt ? this.input : null

0 commit comments

Comments
 (0)