blikblum / tinybind

Lightweight and powerful data binding + templating solution
http://blikblum.github.io/tinybind/
MIT License
79 stars 14 forks source link

Href inside rv-each #21

Closed drecchia closed 4 years ago

drecchia commented 4 years ago

Hi, I am having problem rendering an href inside an rv-each (bind-each) block:

<tr bind-each-p="form1.remote.data  | filterByAnyKey searchModel">
<td><a bind-href="https://lmgtfy.com/?q=p.descricao" bind-title="p.descricao">{p._id}</a></td>
<td>{p.descricao}</td>
</tr>

Looks like rv-[attribute] does not allow mixing strings with {p}. Whats the proper way to achieve the expected replaced result ?

Thanks Danilo Recchia

drecchia commented 4 years ago

Duplicated https://github.com/mikeric/rivets/issues/387