Skip to content

Commit 9c00b55

Browse files
committed
Updated typo error of fillable
1 parent 5b8f57f commit 9c00b55

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

app/Grid/Admin/MediaGrid.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function columns()
2020
return [
2121
[
2222
'attribute' => 'type',
23-
'filable' => true,
23+
'fillable' => true,
2424
'label' => __('Type'),
2525
'type' => 'select',
2626
'value' => function ($model) {
@@ -36,7 +36,7 @@ public function columns()
3636
],
3737
[
3838
'attribute' => 'filename',
39-
'filable' => true,
39+
'fillable' => true,
4040
'label' => __('Name'),
4141
'sortable' => true,
4242
'filter' => 'like',
@@ -58,14 +58,14 @@ public function columns()
5858
[
5959
'attribute' => 'alt',
6060
'label' => __('Alternative Text'),
61-
'filable' => true,
61+
'fillable' => true,
6262
'list' => false,
6363
'type' => 'text',
6464
],
6565
[
6666
'attribute' => 'file',
6767
'label' => __('File'),
68-
'filable' => true,
68+
'fillable' => true,
6969
'type' => 'file',
7070
'value' => function ($model) {
7171
if($model->aggregate_type != 'image'){

app/Grid/Admin/MenuItemGrid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function columns()
9494
[
9595
'attribute' => 'roles',
9696
'label' => __('Roles'),
97-
'filable' => true,
97+
'fillable' => true,
9898
'type' => 'choice',
9999
'form_options' => function ($model) {
100100
$roles = Role::all();

app/Grid/Admin/RoleGrid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function columns()
4848
'attribute' => 'permissions',
4949
'label' => __('Permissions'),
5050
'type' => 'choice',
51-
'filable' => true,
51+
'fillable' => true,
5252
'list' => [
5353
'class' => 'BalajiDharma\LaravelCrud\Column\ListColumn',
5454
'attribute' => 'name'

app/Grid/Admin/UserGrid.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function columns()
5656
'list' => false,
5757
'show' => false,
5858
'type' => 'password',
59-
'filable' => true,
59+
'fillable' => true,
6060
'form_options' => function($model) {
6161
return [
6262
'value' => '',
@@ -66,7 +66,7 @@ public function columns()
6666
[
6767
'attribute' => 'password_confirmation',
6868
'label' => __('Password Confirmation'),
69-
'filable' => true,
69+
'fillable' => true,
7070
'list' => false,
7171
'show' => false,
7272
'type' => 'password',
@@ -75,7 +75,7 @@ public function columns()
7575
'attribute' => 'roles',
7676
'label' => __('Roles'),
7777
'type' => 'choice',
78-
'filable' => true,
78+
'fillable' => true,
7979
'list' => [
8080
'class' => 'BalajiDharma\LaravelCrud\Column\ListColumn',
8181
'attribute' => 'name'

0 commit comments

Comments
 (0)