...
Code Block |
---|
// fill a dynamic list field with catalog data var greekalphabet = scope.model.stringc1 scope.api.http.get('/dummy','/app/api/autocomplete').then( function(result) { greekalphabet.setList({ entries: result.data.entries }); }, function(error) { scope.api.util.notifier.error('Failed to load greek alphabet',error+''); } ) |
To produce the data used by the script, the following plug-in must be placed in the folder “autocomplete-plugins”.
View file | ||
---|---|---|
|