Updated docs for select2-clearing
event.
This commit is contained in:
parent
4109775d3b
commit
926d49744b
@ -1708,6 +1708,15 @@ $("#select").select2({
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="span12">
|
||||
<h3>select2-clearing</h3>
|
||||
<p>Fired when a choice is being cleared in the dropdown, but before any modification has been made to the selection.
|
||||
This event is used to allow the user to reject the clear by calling <code>event.preventDefault()</code></p>
|
||||
</p>
|
||||
<p>For the clear button to be visible the <code>allowClear</code> option needs to be <code>true</code>.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row zebra">
|
||||
<div class="span12">
|
||||
<h3>select2-removed</h3>
|
||||
|
Loading…
x
Reference in New Issue
Block a user