How to I dynamically output the selected attribute for the HTML Select > Options Tags

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 :slight_smile:

1 Like