Hi Mark, I just did some digging through the forum and I found this conversation with @eliot about dynamically adding an HTML attribute. It seems that Eliot suggested a potential syntax, but it doesn’t look like that feature ever got released. I’ve gone ahead and made a feature request for that so feel free to upvote it if you’d like to get notified if/when that feature launches.
If you need any volunteer WordPress programmers to work with the roadmap, feel free to let me know. I have signed up for the better. Impressive to see how fast you guys are working on things!
Hey @markofapproval, it’s been a long time coming but we’ve finally released version 3.0.0 of Loops & Logic, which includes the ability to dynamically add boolean attributes like selected to any tag using the new tag-attributes attribute. I’ve written up a demo of this in use using the example you suggested in this thread, so you can take a look at that in action on the v3.0.0 release blog post. I’m pretty stoked about how that live demo works on the blog post hahaha! Let me know if you have any questions about this