element icon indicating copy to clipboard operation
element copied to clipboard

[Bug Report] ie9下,input输入框,后退按键监控忽略,input在ie9下完全没法用

Open suzi404 opened this issue 9 years ago • 9 comments

Element UI version

1.2.8

OS/Browsers version

win7 ie9

Vue version

2.2.6

Reproduction Link

https://jsfiddle.net/pj71jkyw/

Steps to reproduce

ie9下,包裹在表单中时,如:<el-form-item label="资产类型"> <el-input class="assetType" v-model="form.assetType" ></el-input> </el-form-item> 在用后退键删除input输入框的内容时,v-model的值不变化,也不触发input本身的change事件。

What is Expected?

能正常删除

What is actually happening?

删除功能无效

suzi404 avatar Apr 13 '17 08:04 suzi404

IE9的BUG不处理了吗

lwfyiwei avatar Apr 17 '17 07:04 lwfyiwei

ie 11 have this problem, no ie 9 if change fontcode https://www.utf8icons.com/ for exemple arrows "\2796" ie render correct.

itdepartament avatar Apr 17 '17 19:04 itdepartament

I can't not reproduct your problem, please provide an online demo. Aso, el-from-item must use with el-form

baiyaaaaa avatar Apr 27 '17 00:04 baiyaaaaa

i can place demo problem in demo site. it`s ok?

do you know, that new version vue.js break element-select? https://jsfiddle.net/api/post/library/pure/

not possible choose item from select, how fix it? with previsios version vue work is correct

2017-04-27 3:55 GMT+03:00 baiyaaaaa [email protected]:

I can't not reproduct your problem, please provide an online demo. Aso, el-from-item must use with el-form

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ElemeFE/element/issues/4180#issuecomment-297581503, or mute the thread https://github.com/notifications/unsubscribe-auth/ATdxwIzlpCXtKOzMajThOpZvIechUVrkks5rz-eagaJpZM4M8Z15 .

itdepartament avatar Apr 28 '17 19:04 itdepartament

http://1c8.online/

​ ​

2017-04-28 22:47 GMT+03:00 1c [email protected]:

i can place demo problem in demo site. it`s ok?

do you know, that new version vue.js break element-select? https://jsfiddle.net/api/post/library/pure/

not possible choose item from select, how fix it? with previsios version vue work is correct

2017-04-27 3:55 GMT+03:00 baiyaaaaa [email protected]:

I can't not reproduct your problem, please provide an online demo. Aso, el-from-item must use with el-form

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ElemeFE/element/issues/4180#issuecomment-297581503, or mute the thread https://github.com/notifications/unsubscribe-auth/ATdxwIzlpCXtKOzMajThOpZvIechUVrkks5rz-eagaJpZM4M8Z15 .

itdepartament avatar Apr 28 '17 20:04 itdepartament

I've tried in both IE11 and IE9, and cannot reproduce your problem. Closing this issue for lack of reproduction.

Leopoldthecoder avatar Apr 30 '17 11:04 Leopoldthecoder

ok

2017-04-30 14:19 GMT+03:00 杨奕 [email protected]:

Closed #4180 https://github.com/ElemeFE/element/issues/4180.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ElemeFE/element/issues/4180#event-1063401844, or mute the thread https://github.com/notifications/unsubscribe-auth/ATdxwNi_DerdcRa0t5c_dJ4JmvxGDaXoks5r1G5dgaJpZM4M8Z15 .

itdepartament avatar May 01 '17 07:05 itdepartament

I also met the same problem, the solution is to copy the Input.vue source file to the project, and add a @change monitoring like @Input , you can listen to the backspace key to modify the content (IE9). As follows, do not know what principle. Is not a good way.

<input v-if="type !== 'textarea'" class="el-input__inner" :type="type" :name="name" :placeholder="placeholder" :disabled="disabled" :readonly="readonly" :maxlength="maxlength" :minlength="minlength" :autocomplete="autoComplete" :autofocus="autofocus" :min="min" :max="max" :step="step" :form="form" :value="currentValue" ref="input" @input="handleInput" @change="handleInput" @focus="handleFocus" @blur="handleBlur" >

yaooojia avatar May 11 '17 07:05 yaooojia

今天也遇到了,请问怎么解决的

lambeter avatar Jun 20 '18 09:06 lambeter