Skip to content

Commit 5a6806d

Browse files
committed
docs(1763): Add new func prop for sorting search results
1 parent 165fae7 commit 5a6806d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

documentation/src/components/Props.vue

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,18 @@
190190
<td class="table__td">false</td>
191191
<td class="table__td">Disabled the search input focusing when the multiselect opens</td>
192192
</tr>
193+
<tr class="table__tr">
194+
<td class="table__td"><strong>filteringSortFunc</strong></td>
195+
<td class="table__td">Function</td>
196+
<td class="table__td"></td>
197+
<td class="table__td">Allows a custom sorting function when the user searching.
198+
This function will be passed to an
199+
<i><a target="_blank"
200+
href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort">
201+
Array.sort()
202+
</a></i>
203+
function, so will require two arguments. <br/><b>Added in v3.2.0</b></td>
204+
</tr>
193205
<tr class="table__tr">
194206
<td class="table__td utils--center" colspan="4"><strong>Multiselect.vue</strong></td>
195207
</tr>

0 commit comments

Comments
 (0)