-
-
Notifications
You must be signed in to change notification settings - Fork 363
Closed
Labels
In ProgressI've started diagnosing a fixI've started diagnosing a fixbugSomething isn't workingSomething isn't working
Description
What happened?
In my table, when I have the placeholder enabled. $this->setLoadingPlaceholderEnabled();
class UserTable extends DataTableComponent
{
protected $model = User::class;
public function configure(): void
{
$this->setPrimaryKey('id');
$this->setLoadingPlaceholderEnabled();
}
public function columns(): array
{
return [
Column::make("Id", "id")
->sortable(),
Column::make("Name", "name")
->sortable(),
Column::make("Email", "email")
->sortable(),
Column::make("Created at", "created_at")
->sortable(),
Column::make("Updated at", "updated_at")
->sortable(),
];
}
}
and when searching using the search input, the table display breaks when showing results.
After remove the searched word
How to reproduce the bug
$this->setLoading Placeholder Enabled();
Then tries to search something.
Package Version
3.4.20
PHP Version
8.2.x
Laravel Version
10 and 11
Alpine Version
No response
Theme
Tailwind 3.x
Notes
No response
Error Message
No response
Metadata
Metadata
Assignees
Labels
In ProgressI've started diagnosing a fixI've started diagnosing a fixbugSomething isn't workingSomething isn't working