lkucharski
createAction inside form section
Since editAction is a stand-alone action not associated with any element, I would like to simply be able to place it on a form, but not integrate any aspects of its operation with that form. Just like I would put it in the livewire component
15 replies
createAction inside form section
This is an example for
use Filament\Forms\Components\Actions\Action;
It doesn't work with
use Filament\Actions\CreateAction;
These are different types and only CreateAction has the ability to assign a record other than the one assigned to the main form
15 replies
Reset filters after change tab
Working solution:
public function updating($property, $value)
{
if($property == 'activeTab'){
$this->tableSortColumn = null;
$this->resetTableSearch();
$this->resetTableColumnSearches();
$this->resetTableFiltersForm();
$this->deselectAllTableRecords();
}
}
5 replies