Fix autocomplete
This commit is contained in:
@@ -396,7 +396,7 @@ class WSF_AUTOCOMPLETE_CONTROL extends WSF_INPUT_CONTROL
|
|||||||
self = @
|
self = @
|
||||||
console.log @$el
|
console.log @$el
|
||||||
@$el.typeahead({
|
@$el.typeahead({
|
||||||
name: @control_name
|
name: @control_name+Math.random()
|
||||||
template: @state['template']
|
template: @state['template']
|
||||||
engine: Mini
|
engine: Mini
|
||||||
remote:
|
remote:
|
||||||
|
|||||||
@@ -668,7 +668,7 @@ WSF_AUTOCOMPLETE_CONTROL = (function(_super) {
|
|||||||
self = this;
|
self = this;
|
||||||
console.log(this.$el);
|
console.log(this.$el);
|
||||||
this.$el.typeahead({
|
this.$el.typeahead({
|
||||||
name: this.control_name,
|
name: this.control_name + Math.random(),
|
||||||
template: this.state['template'],
|
template: this.state['template'],
|
||||||
engine: Mini,
|
engine: Mini,
|
||||||
remote: {
|
remote: {
|
||||||
|
|||||||
Reference in New Issue
Block a user