Changes between Version 1 and Version 4 of Ticket #16495


Ignore:
Timestamp:
Jan 8, 2013, 11:31:22 PM (7 years ago)
Author:
bill
Comment:

Hmm, it's weird that this.store._oldAPI is involved since you are using the new dojo/store code. Looks like a bug at first glance.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16495

    • Property Status changed from pending to reopened
    • Property Summary changed from _AutoCompleterMixin.js error when using labelAttr to ComboBox: error when using labelAttr
  • Ticket #16495 – Description

    v1 v4  
    11Hello,
    22I'm trying to use dojo !JsonRest module with Tastypie and django, but I ran into problem.
    3 For tastypie you need to set filtering mechanism in URL like: name__icontains
    4 So, for !ComboBox I set searchAttr to 'name__icontains' and I set labelAttr to 'name', but when I try to select an item from dropdown list I see error in Firebug: Typeerror: this.store._oldAPI is undefined.
     3For tastypie you need to set filtering mechanism in URL like: {{{name__icontains}}}
     4So, for !ComboBox I set searchAttr to {{{name__icontains}}} and I set labelAttr to 'name', but when I try to select an item from dropdown list I see error in Firebug: {{{Typeerror: this.store._oldAPI is undefined}}}.
    55If I delete labelAttr and set searchAttr to 'name' and sending hardcoded data from serverside value selecting works.
    66