'How add multiple remoteSearch function in tributejs
If you used "tributejs" you know that you can pass remoteSearch function as values for use fetch data from outside, I need to append second remoteSearch function and show the list based on first user selected item.
this is a part of tributejs document:
{
//..other config options
// function retrieving an array of objects
values: function (text, cb) {
remoteSearch(text, users => cb(users));
},
lookup: 'name',
fillAttr: 'name'
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
