Skip to content

Commit a88b9f2

Browse files
committed
update select docs
1 parent fe1fa9a commit a88b9f2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ we support livewire loading state, so if you use livewire you can use loading st
5151

5252
### Select component
5353
```html
54-
<x-template-components::select />
54+
<x-template-components::select>
55+
<option value="1">option 1</option>
56+
<option value="2">option 2</option>
57+
</x-template-components::select>
5558
```
5659
He accept all normal attributes of select tag and add some new attributes:
5760
- div-class: add class to div tag

0 commit comments

Comments
 (0)