Wappler 5.3.0
Bootstrap 5 form generator: Sortable headers generation is broken
Notice the dmx-on:click
, the expression inside query1.set()
is not escaped on 'None'
:
<th class="sorting" dmx-on:click="query1.set('sort','error || 'None'');query1.set('dir',query1.data.dir == 'desc' ? 'asc' : 'desc')" dmx-class:sorting_asc="query1.data.sort=='error || 'None'' && query1.data.dir == 'asc'" dmx-class:sorting_desc="query1.data.sort=='error || 'None'' && query1.data.dir == 'desc'">Some column name</th>
Tutorial I was following:
Community Page
Last updated:
Last updated: