Closed sumanthratna closed 2 years ago
instead of programmatically adding hidden attribute using vanilla JS, create a new Alpine.js var selectedColumns, and use x-show="selectedColumns.includes(heading.key)" x-transition
hidden
selectedColumns
x-show="selectedColumns.includes(heading.key)" x-transition
closing b/c haven't implement search yet
Issue
Reproduction
Solution
instead of programmatically adding
hidden
attribute using vanilla JS, create a new Alpine.js varselectedColumns
, and usex-show="selectedColumns.includes(heading.key)" x-transition