1
0
mirror of synced 2025-02-09 16:49:24 +03:00

Improve language for required properties (#13)

The existing language is a bit awkward. This change reads more cleanly, naturally, and accurately.
This commit is contained in:
Jonathan Berger 2018-09-05 13:25:21 -07:00 committed by Pedro Felipe de Azevedo Furtado
parent 663a7d193d
commit 8fc2e93fd9

View File

@ -24,7 +24,7 @@ Select2 can render programmatically supplied data from an array or remote data s
}
```
Each object should contain, _at a minimum_, an `id` and a `text` property. Any additional parameters passed in with data objects will be included on the data objects that Select2 exposes.
Select2 requires that each object contain an `id` and a `text` property. Additional parameters passed in with data objects will be included on the data objects that Select2 exposes.
The response object may also contain pagination data, if you would like to use the "infinite scroll" feature. This should be specified under the `pagination` key.