Open canaanmerchant opened 3 years ago
π Thanks for opening your first issue here! If you're reporting a π bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
Update:
Debug mode throws errors where it can't find several files in the out of the box mix file. I can go an comment out those scripts (including all.js and all.css) so the application technically runs but is practically useless because its missing important JS/CSS including no bootstrap-table at all
Yes, I can see the table-filter-control extension folder path in the project structure but adding that to the webpack.mix and running npm run dev causes the site to crash because the site can't find bootstrap-table.js at all
Debug mode
Describe the bug
I'm trying to add the table-filter-control extension to my bootstrap tables but I cannot figure out how to include the scripts or verify that isn't the problem.
In Debug Mode I get the following error:
Unable to locate Mix file: /css/dist/bootstrap-table.css. (View: C:\inetpub\wwwroot\snipeit\resources\views\partials\bootstrap-table.blade.php) (View: C:\inetpub\wwwroot\snipeit\resources\views\partials\bootstrap-table.blade.php
Which I can see the css file in that path but maybe I'm missing something.
I'm still new to Laravel so using Mix is still a bit of a mystery though when I run npm run dev I don't see any errors related to the bootsrap-table.css.
Within my "Table" elements I set "data-filter-control="true"" and I see that in the console but no filter appears. I can set a filter type in the "th" element but I don't really see where those are created.
So two questions:
Reproduction steps
Expected behavior
A column with a filter available . I can sort since that was enabled out of the box but any configuration I add does not appear
Screenshots
No response
Snipe-IT Version
v5.1.8 build 6148 (g3ca3de9e4)
Operating System
Windows
Web Server
IIS
PHP Version
7.4.22
Operating System
Windows
Browser
Chrome
Version
Version 93.0.4577.63 (Official Build) (64-bit)
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
Additional context
No response