add autocomplete api
This commit is contained in:
parent
9db6adc222
commit
a48f039e89
5 changed files with 62 additions and 16 deletions
|
|
@ -131,7 +131,7 @@ oml.ui.findElement = function() {
|
|||
function getAutocomplete() {
|
||||
var key = !that
|
||||
? ui._findState.key
|
||||
: that.value()[ui._list ? 1 : 0],
|
||||
: that.value()[1],
|
||||
findKey = Ox.getObjectById(oml.config.findKeys, key);
|
||||
return findKey && findKey.autocomplete ? function(value, callback) {
|
||||
oml.api.autocomplete({
|
||||
|
|
@ -220,4 +220,4 @@ oml.ui.findElement = function() {
|
|||
|
||||
return that;
|
||||
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue