File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 9
9
<div class =" msgbox-status d-icon {{ type ? 'icon-' + type : '' }}" ></div >
10
10
<div class =" msgbox-message" ><p >{{ message }}</p ></div >
11
11
<div class =" msgbox-input" v-show =" showInput" >
12
- <input type =" text" v-model =" inputValue" :placeholder =" inputPlaceholder" />
12
+ <input type =" text" v-model =" inputValue" :placeholder =" inputPlaceholder" v-el:input />
13
13
<div class =" msgbox-errormsg" :style =" { visibility: !!editorErrorMessage ? 'visible' : 'hidden' }" >{{editorErrorMessage}}</div >
14
14
</div >
15
15
</div >
67
67
border-radius : 5px ;
68
68
padding : 4px 5px ;
69
69
width : 100% ;
70
+ -webkit-appearance : none ;
71
+ -moz-appearance : none ;
72
+ appearance : none ;
73
+ outline : none ;
70
74
}
71
75
72
76
.msgbox-errormsg {
258
262
}
259
263
},
260
264
265
+ ready () {
266
+ if (this .$type === ' prompt' ) {
267
+ setTimeout (() => {
268
+ this .$els .input .focus ();
269
+ }, 500 );
270
+ }
271
+ },
272
+
261
273
data () {
262
274
return {
263
275
title: ' ' ,
You can’t perform that action at this time.
0 commit comments