Skip to content

Commit 6de6548

Browse files
authored
Merge pull request #213 from yajra/field-macro
feat: allow macro on Field
2 parents f1154f4 + 8fcda6e commit 6de6548

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Html/Editor/Fields/Field.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use Illuminate\Database\Query\Builder as QueryBuilder;
99
use Illuminate\Support\Fluent;
1010
use Illuminate\Support\Str;
11+
use Illuminate\Support\Traits\Macroable;
1112
use Yajra\DataTables\Html\HasAuthorizations;
1213

1314
/**
@@ -16,6 +17,7 @@
1617
class Field extends Fluent
1718
{
1819
use HasAuthorizations;
20+
use Macroable;
1921

2022
/**
2123
* Field type.

0 commit comments

Comments
 (0)