Skip to content

Commit 100d771

Browse files
committed
docs: examples
1 parent 310d360 commit 100d771

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

readme.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ The aim of Selectoo is to provide a flexible tool for creating reusable select i
2929
- custom ui script for altering the DOM upon selection
3030
- cascading / dependent inputs
3131

32+
> See included examples for more information.
33+
3234

3335
## Configuring Selectoo input
3436

@@ -60,7 +62,7 @@ $input->getEngine()
6062
```
6163

6264
The `Select2Engine` is configured using magic options (or `setOption` method).
63-
The names of the magic methods (or option names) represent the ***Select2* configuration options**.
65+
The names of the magic methods (or option names) represent the **Select2 configuration options**.
6466

6567

6668
## Lazy options loading & AJAX
@@ -141,6 +143,11 @@ What is needed, in general:
141143
By following these steps, dependent Selectoo inputs can be created and values validated.
142144

143145

146+
## Examples
147+
148+
Please see the examples included in the repository to get a better understanding of when Selectoo comes handy.
149+
150+
144151
## Notable differences compared to Nette SelectBox & MultiSelectBox
145152

146153
- disabling a Selectoo input does not modify/reset its value, so it can be re-enabled without the loss of the information
@@ -153,5 +160,3 @@ By following these steps, dependent Selectoo inputs can be created and values va
153160
- `nette/forms` v `2.4` and above
154161

155162
You also need **Select2** version `4` to use the `Select2Engine`, see [Select2 documentation](https://select2.org/).
156-
157-

0 commit comments

Comments
 (0)