Not sure if this is a bug or not but it is a bit confusing nonetheless. Steps to reproduce:
Set custom ID for container
Turn on “Use Query Loop” + configure as desired
Save page and go to the front end
The custom ID is nowhere to be found because the wrapper is gone.
This is somewhat related to the feature post that I made previously. I’m kind of impartial now but still find this functionality a bit confusing. Maybe the ID field should be hidden on containers if this is the desired functionality. I’ve included a link to that post below for reference:
Edit: I see that the original ID is used in the query loop and also applied as a css class to each looped item, but setting a custom ID doesn’t seem to do anything at all.
as soon as you apply the query loop to the container, the (default)ID becomes the class, since an ID may only occur once. Of course, this should also be the case if you use a custom ID. I have added the problem to our bug tracker.
In the meantime, if you just leave the default ID, it will work without problems.