mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge pull request #13864 from TbishopP/patch-1
Docs Update - Modify the modal blade component page
This commit is contained in:
@@ -207,10 +207,14 @@ By default, when you press escape on a modal, it will close itself. If you wish
|
||||
|
||||
## Hiding the modal close button
|
||||
|
||||
By default, modals have a close button in the top right corner. You can remove the close button from the modal by using the `close-button` attribute:
|
||||
By default, modals with a header have a close button in the top right corner. You can remove the close button from the modal by using the `close-button` attribute:
|
||||
|
||||
```blade
|
||||
<x-filament::modal :close-button="false">
|
||||
<x-slot name="heading">
|
||||
Modal heading
|
||||
</x-slot>
|
||||
|
||||
{{-- Modal content --}}
|
||||
</x-filament::modal>
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user