We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mount
1 parent 556cf04 commit b7cad77Copy full SHA for b7cad77
src/Http/Livewire/LiveSearch.php
@@ -5,9 +5,10 @@
5
class LiveSearch extends Search
6
{
7
public $template;
8
+
9
public $index;
10
- public function mount(string $template = null, string $index = null)
11
+ public function mount(?string $template = null, ?string $index = null): void
12
13
// In case no template has been defined, we will fall back to a default layout.
14
$this->template = $template ?? 'live-search::dropdown';
0 commit comments