-
26 Apr 2012 11:08 PM #11
-
27 Apr 2012 5:42 AM #12
Great start!
Yet there is some room for improvements. Also could you put it on github, then people can do pull requests for bugfixes?
Bug (Firefox, extjs 4.1.0-rc3):
Removing single item visually removes all items, yet it does not. Steps to reproduce:
- Select 3 items in the field.
- Click outside the field to hide dropdown list.
- Click [x] on individual item to remove it. Observe: all items removed from field.
- Click on field trigger. Observe: all 3 items still selected in the dropdown list.
- Select 4th item. Observe: all 4 items appear in the field.
Features:
Keyboard support similar to BoxSelect
- Down - expand dropdown list
- Esc - collapse dropdown list
- make cursor visible in the field as in BoxSelect
- make text visible in the field while typing
- Typing test in the field - expand dropdown list and filter by entered text
- Down/Up in dropdown list - move cursor up/down in the list
- Space (or Enter) - select/unselect item in dropdown list (Enter may be more natural)
- etc.
-
27 Apr 2012 6:11 AM #13
-
27 Apr 2012 8:15 AM #14
trigger to clear selected items
-
27 Apr 2012 8:43 AM #15
Hi again,
I'm also testing in IE7 and I ran JSLint on your code and found a bunch of trailing commas that cause this to not work in IE. Is it possible to remove all of the trailing commas and run through JSLint? My ide has a built in jslint, but here is an online one you can try:
http://www.javascriptlint.com/online_lint.php
Also, the padding is a bit off in IE7 and I will post some screen shots shortly...
-
27 Apr 2012 10:39 AM #16
vbox weirdness
vbox weirdness
Components laid out using vbox jump upwards about 20px towards your combobox when an item is selected in the combobox. Maybe its a css issue with your combo or maybe an event isnt being fired to resize layout?
vbox-issue.pngCode:layout: { type: 'vbox', pack: 'start', align: 'stretch', padding: '5' },
vbox-issue-2.png
vbox-issue-3.png
-
1 May 2012 12:16 PM #17
-
1 May 2012 12:17 PM #18
-
1 May 2012 12:20 PM #19
-
1 May 2012 1:36 PM #20



Reply With Quote