diff --git a/src/EloquentDataProvider.php b/src/EloquentDataProvider.php index 8c3fe60..b22b918 100644 --- a/src/EloquentDataProvider.php +++ b/src/EloquentDataProvider.php @@ -49,6 +49,7 @@ class EloquentDataProvider $this->meta['baseUrl'] = $options['baseUrl'] ?? $model->table; $this->meta['params'] = $options['params'] ?? []; $this->meta['actions'] = $options['actions'] ?? []; + $this->meta['fillable'] = $options['fillable'] ?? null; $this->meta['searchPrefix'] = $options['searchPrefix'] ?? '/search'; $this->meta['searchParams'] = $options['searchParams'] ?? []; $this->meta['showFiltersRow'] = $options['showFiltersRow'] ?? true;