File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ class DummyClassCrudController extends CrudController
5656 protected function setupCreateOperation()
5757 {
5858 CRUD::setValidation(DummyClassRequest::class);
59-
6059 CRUD::setFromDb(); // set fields from db columns.
6160
6261 /**
Original file line number Diff line number Diff line change 2222{{-- CUSTOM CSS --}}
2323@push('crud_fields_styles')
2424 {{-- How to load a CSS file? --}}
25- @basset(asset( 'dummyFieldStyle.css') )
25+ @basset('dummyFieldStyle.css')
2626
2727 {{-- How to add some CSS? --}}
2828 @bassetBlock('backpack/crud/fields/dummy_field-style.css')
3737{{-- CUSTOM JS --}}
3838@push('crud_fields_scripts')
3939 {{-- How to load a JS file? --}}
40- @basset(asset( 'dummyFieldScript.js') )
40+ @basset('dummyFieldScript.js')
4141
4242 {{-- How to add some JS to the field? --}}
43- @bassetBlock('backpack/crud/fields/dummy_field- script.js')
43+ @bassetBlock('path/to/ script.js')
4444 <script>
4545 function bpFieldInitDummyFieldElement(element) {
4646 // this function will be called on pageload, because it's
You can’t perform that action at this time.
0 commit comments