From 56cd6e4f88427dcf16b2f1728f74f5d9319e5d47 Mon Sep 17 00:00:00 2001 From: Dan Date: Mon, 27 May 2024 10:09:09 +0000 Subject: [PATCH] Merge pull request #12940 from recca0120/fix/test-fake-uploaded-file --- docs/03-resources/01-getting-started.md | 2 +- docs/03-resources/07-relation-managers.md | 2 +- docs/03-resources/11-security.md | 2 +- docs/15-upgrade-guide.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/03-resources/01-getting-started.md b/docs/03-resources/01-getting-started.md index 0466f85b9..cca222579 100644 --- a/docs/03-resources/01-getting-started.md +++ b/docs/03-resources/01-getting-started.md @@ -273,7 +273,7 @@ public static function getPluralModelLabel(): string By default, Filament will automatically capitalize each word in the model label, for some parts of the UI. For example, in page titles, the navigation menu, and the breadcrumbs. -If you want to disable this behaviour for a resource, you can set `$hasTitleCaseModelLabel` in the resource: +If you want to disable this behavior for a resource, you can set `$hasTitleCaseModelLabel` in the resource: ```php protected static bool $hasTitleCaseModelLabel = false; diff --git a/docs/03-resources/07-relation-managers.md b/docs/03-resources/07-relation-managers.md index 9cb5f3d0a..52bf76164 100644 --- a/docs/03-resources/07-relation-managers.md +++ b/docs/03-resources/07-relation-managers.md @@ -115,7 +115,7 @@ Once a table and form have been defined for the relation manager, visit the [Edi ### Read-only mode -Relation managers are usually displayed on either the Edit or View page of a resource. On the View page, Filament will automatically hide all actions that modify the relationship, such as create, edit, and delete. We call this "read-only mode", and it is there by default to preserve the read-only behaviour of the View page. However, you can disable this behaviour, by overriding the `isReadOnly()` method on the relation manager class to return `false` all the time: +Relation managers are usually displayed on either the Edit or View page of a resource. On the View page, Filament will automatically hide all actions that modify the relationship, such as create, edit, and delete. We call this "read-only mode", and it is there by default to preserve the read-only behavior of the View page. However, you can disable this behavior, by overriding the `isReadOnly()` method on the relation manager class to return `false` all the time: ```php public function isReadOnly(): bool diff --git a/docs/03-resources/11-security.md b/docs/03-resources/11-security.md index 256efb217..8ff93a3c5 100644 --- a/docs/03-resources/11-security.md +++ b/docs/03-resources/11-security.md @@ -4,7 +4,7 @@ title: Security ## Protecting model attributes -Filament will expose all model attributes to JavaScript, except if they are `$hidden` on your model. This is Livewire's behaviour for model binding. We preserve this functionality to facilitate the dynamic addition and removal of form fields after they are initially loaded, while preserving the data they may need. +Filament will expose all model attributes to JavaScript, except if they are `$hidden` on your model. This is Livewire's behavior for model binding. We preserve this functionality to facilitate the dynamic addition and removal of form fields after they are initially loaded, while preserving the data they may need. > While attributes may be visible in JavaScript, only those with a form field are actually editable by the user. This is not an issue with mass assignment. diff --git a/docs/15-upgrade-guide.md b/docs/15-upgrade-guide.md index c5a16f720..0b9b1ce34 100644 --- a/docs/15-upgrade-guide.md +++ b/docs/15-upgrade-guide.md @@ -145,7 +145,7 @@ The Heroicons library has been updated to v2. This means that any icons you use #### Date-time pickers -The date-time picker form field now uses the browser's native date picker by default. It usually has a better UX than the old date picker, but you may notice features missing, bad browser compatibility, or behavioural bugs. If you want to revert to the old date picker, you can use the `native(false)` method: +The date-time picker form field now uses the browser's native date picker by default. It usually has a better UX than the old date picker, but you may notice features missing, bad browser compatibility, or behavioral bugs. If you want to revert to the old date picker, you can use the `native(false)` method: ```php use Filament\Forms\Components\DateTimePicker;