Testing page footer actions in v4
EditRecord
page for example, we would have these footer actions:
```php
protected function getFormActions(): array
{
return [...Pagination Cursor not working
public function getTablePage(): int
{
return $this->getPage($this->getTablePaginationPageName());
}
public function getTablePage(): int
{
return $this->getPage($this->getTablePaginationPageName());
}
Replicate - but display form instead of saving directly.
$this->schema()
.
So here is my working custom action class that displays my form inside the replicate modal and allows to fill out the not replicated, required fields:...Using Icons Inside RichContentRenderer
RichContentRenderer
?
My component looks like this:
```php...Multi-tenancy using build in functionality, how to add and manage team members?
Eager loaded relationship not updating after component action called
$model->documents
but in v4 it does not update.
It's like in v3 the whole model would be refreshed including eager loaded relations, but now the relations are cached.
I don't want to call $model->documents()->get()
because that's going to be a lot of extra database queries (I have quite a few fields), but I need the info to be fresh when an action is run to update the state of the field....$model->refresh();
after my action is completed. I guess in v3 the caching was more lax, but in v4 it does not refresh the relations etc so you have to do that yourself.belongsToMany select for relation not working
Login page customization
PreviousUrl Overwritten when Using Multiple Tabs
Filament\Resources\Pages\EditRecord::getRedirectUrl()
to redirect to $this->previousUrl
after saving, just like in the example in the docs: Customizing redirects.We've discovered that if a user has multiple tabs open, one of which is on an Edit page, and they navigate around in another tab and then refresh the Edit page tab, the Edit page tab's "previous URL" gets replaced by the other tab's navigation. Does anybody know how to work around this so that each tab keeps it's own "previous URL" regardless of what's happening in other tabs?...
Saving an unsaved id using RelationManager
TipTap RichEditor: trouble with lists
Customize the topbar
Change the position of the Submit button in editRecord

Customize image html or attributes in RichContentRenderer
RichContentRenderer
and also with "mixin" (like awcodes show me), but I'm not sure if it's even possible......Nested Resource Header Actions

Issue with schema reactivity in a custom page
Just get the original filename?
afterStateUpdated
of a FileUpload field? I want to keep the randomly-generated filename, but I want to get the original filename so I can $set()
the text of some other fields based on the original filename of the uploaded file.Hide the column manager
