File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414use Filament \Support \Facades \FilamentAsset ;
1515use Filament \Support \Facades \FilamentColor ;
1616use Filament \Support \Facades \FilamentIcon ;
17+ use Filament \Support \View \Components \ModalComponent ;
1718use Filament \Tables \Columns \TextColumn ;
1819use Filament \Tables \Filters \SelectFilter ;
1920use Filament \Tables \Filters \TernaryFilter ;
@@ -52,10 +53,10 @@ public function boot(): void
5253 $ obj ->native (false );
5354 });
5455 DatePicker::configureUsing (function (DatePicker $ obj ): void {
55- $ obj ->native (false )->locale (config ('locale ' ));
56+ $ obj ->native (false )->locale (config ('app. locale ' ));
5657 });
5758 DateTimePicker::configureUsing (function (DateTimePicker $ obj ): void {
58- $ obj ->native (false )->locale (config ('locale ' ));
59+ $ obj ->native (false )->locale (config ('app. locale ' ));
5960 });
6061
6162 // Filter
@@ -139,5 +140,8 @@ public function boot(): void
139140
140141 // Notifications
141142 Notifications::verticalAlignment (VerticalAlignment::End);
143+
144+ // Modals
145+ ModalComponent::closedByClickingAway (false );
142146 }
143147}
You can’t perform that action at this time.
0 commit comments