add option "uniqueItemText" and "customAddItemText" into README.md

This commit is contained in:
Alexander Schlegel 2022-08-27 16:50:32 +02:00
parent 624dd797a4
commit 835ea12ac9

View file

@ -151,6 +151,8 @@ Or include Choices directly:
noResultsText: 'No results found',
noChoicesText: 'No choices to choose from',
itemSelectText: 'Press to select',
uniqueItemText: 'Only unique values can be added',
customAddItemText: 'Only values matching specific conditions can be added',
addItemText: (value) => {
return `Press Enter to add <b>"${value}"</b>`;
},