Documentation changes
The documentation now references the `choice` parameter instead of the now deprecated `object` parameter for events. This fixes the following issue: https://github.com/ivaynberg/select2/issues/2340
This commit is contained in:
parent
4a594f7a82
commit
05babd1285
@ -1773,7 +1773,7 @@ $("#select").select2({
|
||||
<p>The event object contains the following custom properties:
|
||||
<dl>
|
||||
<dt>val</dt><dd>The id of the highlighted choice object.</dd>
|
||||
<dt>object</dt><dd>The highlighted choice object.</dd>
|
||||
<dt>choice</dt><dd>The highlighted choice object.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
@ -1785,7 +1785,7 @@ $("#select").select2({
|
||||
<p>The event object contains the following custom properties:
|
||||
<dl>
|
||||
<dt>val</dt><dd>The id of the highlighted choice object.</dd>
|
||||
<dt>object</dt><dd>The choice object about to be selected.</dd>
|
||||
<dt>choice</dt><dd>The choice object about to be selected.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
@ -1805,7 +1805,7 @@ $("#select").select2({
|
||||
<p>The event object contains the following custom properties:
|
||||
<dl>
|
||||
<dt>val</dt><dd>The id of the removing choice object.</dd>
|
||||
<dt>object</dt><dd>The choice object about to be removed.</dd>
|
||||
<dt>choice</dt><dd>The choice object about to be removed.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
@ -1816,7 +1816,7 @@ $("#select").select2({
|
||||
<p>The event object contains the following custom properties:
|
||||
<dl>
|
||||
<dt>val</dt><dd>The id of the highlighted choice object.</dd>
|
||||
<dt>object</dt><dd>The highlighted choice object.</dd>
|
||||
<dt>choice</dt><dd>The highlighted choice object.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user