Knockout JS “uniqueName” binding - Same name to two fields

前端 未结 4 1077
遇见更好的自我
遇见更好的自我 2021-01-14 09:31

I am using Knockout JS to create an editor. I am using the foreach property to loop around a list in my model.

 

        
4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-14 09:52

    You only need to add a ControlName attribute in the child elements and bind the input name to this and the data-valms-for too

     
    
    

提交回复
热议问题