Uncaught exception in promise when when trying to use nested components

前端 未结 7 1755
醉话见心
醉话见心 2021-01-03 20:56

I am getting this exception when trying to use nested components:

EXCEPTION: Error: Uncaught (in promise): TypeError: Cannot set property \'endSourceSpan\' o         


        
7条回答
  •  别那么骄傲
    2021-01-03 21:12

    i have this problem , because i break html law that i do not know about it .

    this an example of forbidden html : because you have ul element inside p element and that is forbidden in html law

    this will not work

    • {{item.name}}

    but this will work :

    This will definitely work

    • {{item.name}}

    when i talk to angulars dev about this , they told that i have to get the hard way

    https://github.com/angular/angular.js/issues/15139#issuecomment-247256778

    of course you will have this in angularjs1 and angularjs2 .

提交回复
热议问题