File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 22
33namespace Vormkracht10 \FilamentFields \Concerns ;
44
5- use Illuminate \ Support \ Collection ;
5+ use Livewire \ Attributes \ On ;
66use Vormkracht10 \Fields \Fields ;
7+ use Illuminate \Support \Collection ;
78use Vormkracht10 \FilamentFields \Enums \Field ;
8- use Vormkracht10 \FilamentFields \Contracts \FieldInspector ;
99use Vormkracht10 \FilamentFields \Models \Field as Model ;
10+ use Vormkracht10 \FilamentFields \Contracts \FieldInspector ;
1011
1112trait HasFieldsMapper
1213{
@@ -35,6 +36,12 @@ public function boot(): void
3536 $ this ->fieldInspector = app (FieldInspector::class);
3637 }
3738
39+ #[On('refreshFields ' )]
40+ public function refresh (): void
41+ {
42+ //
43+ }
44+
3845 protected function mutateFormDataBeforeFill (array $ data ): array
3946 {
4047 if ($ this ->record ->fields ->isEmpty ()) {
You can’t perform that action at this time.
0 commit comments