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 99 <div class =" msgbox-status d-icon {{ type ? 'icon-' + type : '' }}" ></div >
1010 <div class =" msgbox-message" ><p >{{ message }}</p ></div >
1111 <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 />
1313 <div class =" msgbox-errormsg" :style =" { visibility: !!editorErrorMessage ? 'visible' : 'hidden' }" >{{editorErrorMessage}}</div >
1414 </div >
1515 </div >
6767 border-radius : 5px ;
6868 padding : 4px 5px ;
6969 width : 100% ;
70+ -webkit-appearance : none ;
71+ -moz-appearance : none ;
72+ appearance : none ;
73+ outline : none ;
7074 }
7175
7276 .msgbox-errormsg {
258262 }
259263 },
260264
265+ ready () {
266+ if (this .$type === ' prompt' ) {
267+ setTimeout (() => {
268+ this .$els .input .focus ();
269+ }, 500 );
270+ }
271+ },
272+
261273 data () {
262274 return {
263275 title: ' ' ,
You can’t perform that action at this time.
0 commit comments