What steps will reproduce the problem?
1. Run the SelectItemExample (attached)
What is the expected output? What do you see instead?
Study the pick-lists of all the SelectItems
- "First SelectItem" and "First SelectItem with ShowAll" contain expected checklists
- While "Second SelectItem" and "SecondItem with ShowAll" do not:
-- the expected pick-lists are of these SelectItems are "Second Value, Third Value" and "Second Value, Third Value, <separator>, First Value" respectively
-- the actual pick-lists are "<empty>" and "<separator>, First Value, Second Value, Third Value" respectively
What version of the product are you using? On what operating system?
- Operating system: Windows XP
- Browsers: IE 7 and Firefox 3.6.8(both normal browser and GWT development mode)
- SmartGWT version: 2.1
- GWT version: 2.0.3
Please provide any additional information below.
I've analyzed the code of the SmartClient and found that in the function
filterClientPickListData() the criterion for a particular field is converted to
a string irrespectively if it a string or an Array (see the line 1751 of the
PickList.js attached)
Original issue reported on code.google.com by iurii.vo...@gmail.com on 11 Aug 2010 at 1:31
Original issue reported on code.google.com by
iurii.vo...@gmail.com
on 11 Aug 2010 at 1:31Attachments: