@@ -15,16 +15,6 @@ typing.
1515
1616You will no longer need to download all the data at the startup, just get the data you're looking for.
1717
18- ## Requirements
19-
20- ** This package requires AlpineJS to work properly.**
21-
22- If you're not going to use AlpineJS, you might want to publish the component view in order to replace the AlpineJS functionality.
23-
24- ``` bash
25- php artisan vendor:publish --provider=" SertxuDeveloper\Livewire\LivewireComboboxServiceProvider"
26- ```
27-
2818## Installation
2919
3020You can install the package via composer:
@@ -43,14 +33,14 @@ First, you need to execute the following command in your terminal:
4333php artisan combobox:make UsersCombobox -m User
4434```
4535
46- This will create a new component in the ` App/Http /Livewire` directory.
36+ This will create a new component in the ` app /Livewire` directory.
4737
4838The new ` UsersCombobox ` component will look like this:
4939
5040``` php
5141<?php
5242
53- namespace App\Http\ Livewire;
43+ namespace App\Livewire;
5444
5545use App\Models\User;
5646use SertxuDeveloper\LivewireCombobox\Components\Combobox;
@@ -95,7 +85,7 @@ You can also pass some parameters to the component:
9585<livewire:users-combobox name="author" label="Author" placeholder="Select a user">
9686```
9787
98- > ** Warning ** < br >
88+ > [ !WARNING ]
9989> If you don't pass any parameters, the component will use the default values.<br >
10090> It's recommended to pass the parameters to the component.<br >
10191> You can also add the values overriding the default values in the class.
@@ -111,7 +101,7 @@ The name of the events depends on the component name, this allows you to have mo
111101
112102These events will be fired up, so the parent component can react to the user interaction.
113103
114- > ** Note** < br >
104+ > [ ! Note]
115105> The ` selected ` event contains the selected model as a parameter.
116106
117107## Adding filters
0 commit comments