When I use dmx-show to show/hide content from a datasource, the code is shortly shown on the page.
For example I have no records in the news dataview, but “No records in database.” shows up for a short time and then disappears. I’m using this code.
<div class="row py-4" dmx-show="!dvNews.data.hasItems()"> <div class="col-md-9"> <p>No records in database.</p> </div> </div>
Looks like the DMXZone code is executed after the html code. How can I improve this?