Hi,
I would like to use the “data-collection-bind” value of a blog field to add it to a data content on a div
ex :
"<div data-bemonth-price=“79,” data-collection-bind="???">79, "
Thanks
Hi,
I would like to use the “data-collection-bind” value of a blog field to add it to a data content on a div
ex :
"<div data-bemonth-price=“79,” data-collection-bind="???">79, "
Thanks
Hi! I think the short answer is … right now, this is not possible.
There is a feature request to allow us to bind the value of a field (from a collection) to other element attributes.
See here: Extend the functionality of the dynamic data (collections)
In your case, what you have there is a custom data attribute. Maybe this can be a feature request by itself.
Hope this helps!
Hi, thank you @Lucian_Dinu for your feedback, it is true that it would be a plus