File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
src/resources/views/grid/filters Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 11<input type =" text" name =" {{ $name } }" id =" {{ $id } }"
22 form =" {{ $formId } }"
3- class =" {{ $class } }" value =" {{ request ($name ) } }" title =" {{ $title } }" placeholder =" {{ $titleSetOnColumn ?? $title } }"
3+ class =" {{ $class } }" value =" {{ request ($name ) } }" title =" {{ $titleSetOnColumn ?? $ title } }" placeholder =" {{ $titleSetOnColumn ?? $title } }"
44 @foreach ($dataAttributes as $k => $v )
55 data-{{ $k }} ={{ $v } }
66 @endforeach
Original file line number Diff line number Diff line change @@ -243,10 +243,14 @@ public function grid_can_render_using_custom_layout()
243243 public function grid_can_add_custom_filter_titles ()
244244 {
245245 $ filterText = "filter-by-foo-bar " ;
246+ $ existingFilterTextSampleNotExisting = "filter by name " ;
247+ $ existingFilterTextSampleExisting = "filter by created_at " ;
246248 $ grid = $ this ->getGridInstances ()['users_customized ' ];
247249 /** @var $grid UsersGrid */
248250 $ content = $ grid ->render ();
249251
250252 $ this ->assertContains ($ filterText , $ content );
253+ $ this ->assertContains ($ existingFilterTextSampleExisting , $ content );
254+ $ this ->assertNotContains ($ existingFilterTextSampleNotExisting , $ content );
251255 }
252256}
You can’t perform that action at this time.
0 commit comments