jQWidgets Forums
jQuery UI Widgets › Forums › Plugins › AngularJS › jqx-combo-box
This topic contains 5 replies, has 2 voices, and was last updated by Peter Stoev 10 years, 6 months ago.
-
Authorjqx-combo-box Posts
-
Hi,
I try to switch from v3.5 to v3.6 but several things does not work any longer.
This time, I experience a problem with the jqx-combo-box.In my html file I have a simple jqx-combo-box with some settings :
<jqx-combo-box jqx-settings=”agentsComboBoxSettings”></jqx-combo-box>
My javascript file is the following and I expect that it has the same behavior than in v3.5.
The parameters I set in the settings should let me enter some characters and the widget should automatically filter the corresponding items, but it does not.Is there something wrong in the way I use the widget in V3.6 ?
$scope.statAgents = [{Name: "My Agent 01"}, {Name: "My Agent 02"}]; $scope.agentsComboBoxSettings = { itemHeight: 24, height: 22, width: 300, source: $scope.statAgents, selectedIndex: 0, displayMember: 'Name', valueMember: 'Name', searchMode: 'containsignorecase', autoComplete: true, bindingComplete: function(event) { $scope.agentsComboBoxSettings.apply('selectIndex', 0); }, };
Hi Tyl,
The code you’re posting will not work in 3.5, too. Remove “searchMode” and it will.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/Hi Peter,
The ‘searchMode’ attribute is demonstrated in one of your sample here:
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxcombobox/settings.htmHere is what I get in v3.5 (working) and v3.6 (not working)
Hi Tyl,
I already wrote you what you have to do. If you want, follow my advice. I wrote you that with 3.5, this property will not work in AngularJS and this is a fact. The demo you’re pointing out is without Angular.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/I removed the ‘searchMode’ attribute and tried my sample in v3.5 and v3.6, and now I have no filtering at all when I type a character in the box.
I cannot explain why my sample actually works in v3.5 (this is also a fact :o) (I can send you the files if you want)Is it possible in v3.6 to have the filtering feature in the jqx-combo-box (and how ?)
This issue alerts me on a possibly more global problem with jqx-angular: are there some other features in the jqwidgets that works in jquery but not with angular ?
Hi Tyl,
You may think what you wish. There is no global problem. Removing searchMode enables the filtering.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/ -
AuthorPosts
The topic ‘jqx-combo-box’ is closed to new replies.