initializeChoice
Overview
Creates the empty per-model container in choices, or in filterChoices for a filter, if it does not exist yet.
Signature
initializeChoice(app, model, isFilter)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| app | string | yes | Django app label. |
| model | string | yes | Model name. |
| isFilter | boolean | no | Whether to create the container in filterChoices. |
Returns
void
Source
client/lib/stores/storeModelChoices.js:270