AngularJS on IE10+ ,textarea with placeholder cause “Invalid argument.”

后端 未结 3 994
执笔经年
执笔经年 2021-01-07 19:22

I\'m getting \"Invalid argument\" when using angularJS ,TextArea with placeholder, on IE10+.

This will ONLY happen when the textarea node is closed with

3条回答
  •  星月不相逢
    2021-01-07 20:00

    I experienced this error today and randomly stumbled upon this question. Here's what solved it for me

    Before:

    
    

    After:

    
    

    Note the little space inside the textarea, that's what actually stopped IE from complaining...

提交回复
热议问题