Skip to content

Commit

Permalink
Improve language for required properties (#13)
Browse files Browse the repository at this point in the history
The existing language is a bit awkward. This change reads more cleanly, naturally, and accurately.
  • Loading branch information
jonathanberger authored and pedrofurtado committed Sep 5, 2018
1 parent 663a7d1 commit 8fc2e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/06.data-sources/01.formats/docs.md
Expand Up @@ -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.

Expand Down

0 comments on commit 8fc2e93

Please sign in to comment.