Setting the id attribute with knockoutjs including a prefix

后端 未结 4 693
天涯浪人
天涯浪人 2020-12-30 18:04

I\'m using KnockoutJS to iterate over an object, like this:

Now this all works. But the problem i have is that it sets the id of the butto

4条回答
  •  清歌不尽
    2020-12-30 18:50

    Actually used this today - to unwrap the observable I had to do:

    
    

    Hope this helps.

提交回复
热议问题