forked from 0x2620/oxjs
allow for autocomplete in annotations of type entity (first pass)
This commit is contained in:
parent
ad7e5f3eaf
commit
d6a1dae8b8
5 changed files with 31 additions and 3 deletions
|
|
@ -144,6 +144,13 @@ Ox.Editable = function(options, self) {
|
|||
self.originalValue = self.options.value;
|
||||
if (!self.$input) {
|
||||
self.$input = Ox.Input({
|
||||
autocomplete: self.options.autocomplete,
|
||||
autocompleteReplace: self.options.autocompleteReplace,
|
||||
autocompleteReplaceCorrect: self.options.autocompleteReplaceCorrect,
|
||||
autocompleteSelect: self.options.autocompleteSelect,
|
||||
autocompleteSelectHighlight: self.options.autocompleteSelectHighlight,
|
||||
autocompleteSelectMaxWidth: self.options.autocompleteSelectMaxWidth,
|
||||
autocompleteSelectSubmit: self.options.autocompleteSelectSubmit,
|
||||
changeOnKeypress: true,
|
||||
element: self.options.type == 'input' ? '<span>' : '<div>',
|
||||
style: 'square',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue