mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-03 22:33:12 +02:00
Merge 02b2cd2aed
into 5dbea2825a
This commit is contained in:
commit
52e356e33c
|
@ -69,7 +69,7 @@ export const DEFAULT_CONFIG: Options = {
|
|||
uniqueItemText: 'Only unique values can be added',
|
||||
customAddItemText: 'Only values matching specific conditions can be added',
|
||||
addItemText: (value) => `Press Enter to add <b>"${sanitise(value)}"</b>`,
|
||||
maxItemText: (maxItemCount) => `Only ${maxItemCount} values can be added`,
|
||||
maxItemText: (maxItemCount) => `Only ${maxItemCount} ${maxItemCount === 1 'value' : 'values'} can be added`,
|
||||
valueComparer: (value1, value2) => value1 === value2,
|
||||
fuseOptions: {
|
||||
includeScore: true,
|
||||
|
|
Loading…
Reference in a new issue