mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-10 17:46:35 +02:00
Add search placeholder to example
This commit is contained in:
parent
84f149ee83
commit
3817bb33dd
|
@ -375,7 +375,8 @@
|
|||
|
||||
var singleFetch = new Choices('#choices-single-remote-fetch', {
|
||||
placeholder: true,
|
||||
placeholderValue: 'Pick an Arctic Monkeys record'
|
||||
placeholderValue: 'Pick an Arctic Monkeys record',
|
||||
searchPlaceholderValue: 'Search for an Arctic Monkeys record',
|
||||
}).ajax(function (callback) {
|
||||
fetch('https://api.discogs.com/artists/391170/releases?token=QBRmstCkwXEvCjTclCpumbtNwvVkEzGAdELXyRyW')
|
||||
.then(function (response) {
|
||||
|
|
Loading…
Reference in a new issue