Skip to content

Commit

Permalink
Merge pull request #12940 from recca0120/fix/test-fake-uploaded-file
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed May 27, 2024
1 parent b73e49d commit 56cd6e4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/03-resources/01-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion docs/03-resources/07-relation-managers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/03-resources/11-security.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/15-upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 56cd6e4

Please sign in to comment.