-
28 Sep 2012 4:23 AM #1
Unanswered: Whitespace in Picker is ignored
Unanswered: Whitespace in Picker is ignored
Picker just ignores if it detects more than one whitespace, however, selectfield does display as it supposed to.Code:slots: [ { title: 'Title', name: 'mySlot', data: [ { text: " Doesn't wrk", value: 'value1' }, { text: "1. Doesn't wrk", value: 'value1' }, ] } ]
-
28 Sep 2012 5:05 AM #2
Try adding the instead of spaces
-
28 Sep 2012 5:21 AM #3
-
28 Sep 2012 8:49 AM #4
I just tried it and it works for me:
screen.JPGCode:var picker = Ext.create('Ext.Picker', { slots: [ { name : 'limit_speed', title: 'Speed', data : [ {text: '5 0 KB/s', value: 50}, {text: '100 KB/s', value: 100}, {text: '200 KB/s', value: 200}, {text: '300 KB/s', value: 300} ] } ] }); Ext.Viewport.add(picker); picker.show();
-
28 Sep 2012 9:52 AM #5


Reply With Quote