filters and custom Js with Laravel Backpack InlineCreate

43 views Asked by At

i'm using InlineCreate on a project that uses filters on the list view and some custom Js to hide/modify some form fields in the create/update form.

The problem is that using filters throws an error and displays the full page (not only the create form) and no js code from my custom js is loaded.

The filters are in the function setup. screenshot below: enter image description here

but i'm using a single filter so the problem is with the filters in general.

I'm loading custom js in the Create Operation like this: Widget::add()->type('script')->content('assets/js/clients.js');

1

There are 1 answers

6
Jorge On

Hello @saycookie can you share details about problem to replicate it:

  • Screenshot of error
  • Output of php artisan backpack:version
  • Share details of JS script

Thanks