20 May 2009 10:46 PM #1
[UPDATE] Ext.ux.form.SuperBoxSelect as seen on facebook and hotmail
[UPDATE] Ext.ux.form.SuperBoxSelect as seen on facebook and hotmail
Fixed regression where disabling the component didn't properly disable the items.
UPDATE 16/01/2010 (Part 2)
Fixed to prevent extra empty hiddenName value from being posted.
@frederickd - I'd forgotten about this one until I saw you on the forum
Fixed bug when setting disabled in config.
Updated CSS to remove gray background from input when component is disabled.
UPDATE 15/01/2010 (part 2)
Fix to disable item listeners when component is disabled.
Fixed regression that made transforming an HTML Select incompatible with Ext 2.x
Fixed issue with setValue being used prior to rendering.
Fix to prevent passing null to setValue from causing problems.
Fixed inconsistency regarding forceFormValue config and form submits.
Fix to prevent component submitting values when disabled.
Fix to ensure that minChars does not affect a values query.
Fixed IE8 Quirks Mode issue when transforming a HTML Select.
Fix to replace removed store records when component is destroyed.
Fixed a silly typo which prevented setValue working with a remote store.
Additional fix to destroy process.
Implemented addNewItem method to fix issue raised in post #242
NOTE Anybody using this component with the allowAddNewData config and a remote store is advised to use the new addNewItem method within their newitem event listeners.
For a demo, see the remote example here:
Fixed queryValuesIndicator typo.
Fix to ensure that blurring component behaves consistently (removing typed chars).
Fix to onResize to ensure all elements have been renderred.
Fix to unset preventMultipleRemoveEvents after all items have been removed.
Fix to normalize string in setValue method.
Fix to add a missing ;
Fixes to reset and destroy processes.
Implemented itemDelimiterKey config.
Implemented beforeselect event.
Fix to prevent the component receiving focus when reset is called.
Removed unnecessary usage of trim.
Fixed bug in setValueEx method.
Added a new forceFormValue config to force form values (submission or BasicForm.getValues) even when no items selected
Fix to prevent submission of empty value when doing a raw form submit.
Fix for IE8 error during transform.
Inclusion of superboxselect-gray-extend.css from the extended gray theme (Thanks Galdaka)
Fix to work around Ext 3.0.0 bug - store load event not providing params to callback.
Fix to allow store to be provided as an xtype.
Fix to clean up after prevention of 'remove' events during clearValue.
Added 'clear' event.
Added a 'record' param to the addItem and removeItem events.
Added 'supressClearValueRemoveEvents' config.
Added fix to escape internal regexp.
Added new 'supressEvents' param to clearValue method.
Removed docs for removeAllItems method - clearValue should be used instead.
Added addItems method.
Fixed scope issue in getValueEx method.
Fix to provide an originalValue (and fix reset) when remote store used.
*NEW* Remote compatability - you are no longer limited to a local store!
Multiple bug fixes (many browser version specific).
A few minor bug fixes and a maintenance release to make compatible with Ext 3.0.1
Fixed a couple of bugs that occured when using setValue when the component had not been rendered (eg. hidden tab).
Enabled setValue to accept either an array of values or a delimited string.
Fixed IE6 display issue with applyTo and transform.
Fixed a couple of dodgy non var'd variables.
Increased 'close button' target size and changed cursor to pointer.
New Fully Supported Combo Features:
- Ability to applyTo an existing element.
- Ability to transform an existing HTML Select.
Bug Fixes and Code Tidy Up (A big contribution from Mystix - Many Thanks).
The attachment has been updated as have the example pages linked below.
There is already a similar component on this forum (http://extjs.com/forum/showthread.php?t=33794), but as development seems to have stopped, I was asked to create a component like this one which fixes the errors and adds some additional functionality.
I've put a first demo of the component here:
Ext 2 Example:
Ext 3 Example:
Ext 3 Extended Gray Theme Example:
Remote Store Example:
It's still in beta so there is some refactoring to do and I may make changes to the api methods and properties, but the functionality is pretty much all there.
Please try it out and let me know if you experience any issues.
Last edited by danh2000; 4 Feb 2010 at 1:40 PM. Reason: update
21 May 2009 12:31 AM #2
21 May 2009 12:43 AM #3
21 May 2009 1:23 AM #4
21 May 2009 1:21 PM #5
21 May 2009 2:02 PM #6
Awesome work.Aaron Conran
Sencha Architect Development Team
21 May 2009 2:27 PM #7
I'll look into adding it - It may require some additional work to support being a grid editor.
21 May 2009 10:39 PM #8
Would be great add this component to Ext 3.0.
Thanks for share!!
21 May 2009 11:03 PM #9
22 May 2009 12:15 PM #10
Is there any chance of making the beta available for testing on our own apps?
Thread Participants: 119
- galdaka (9 Posts)
- aconran (1 Post)
- stever (4 Posts)
- dj (1 Post)
- mystix (18 Posts)
- MarkB (3 Posts)
- DrZog (1 Post)
- JorisA (2 Posts)
- jheid (3 Posts)
- Joe (1 Post)
- mschering (1 Post)
- gigel (1 Post)
- akannu (1 Post)
- phillipL (1 Post)
- badgerd (1 Post)
- cmendez21 (1 Post)
- mjlecomte (1 Post)
- grgur (1 Post)
- xantus (1 Post)
- garraS (3 Posts)
- vahid4134 (2 Posts)
- Lloyd K (2 Posts)
- boonkerz (3 Posts)
- crxtech (3 Posts)
- mishanian (7 Posts)
- fpw23 (1 Post)
- sanjshah (6 Posts)
- Zolcsi (1 Post)
- SharePat (1 Post)
- mjhaston (1 Post)
- radtad (16 Posts)
- Joyfulbob (2 Posts)
- kveeiv (1 Post)
- armandoxxx (2 Posts)
- imran (1 Post)
- Eric24 (1 Post)
- drunknmunky (1 Post)
- raphac (1 Post)
- charleshimmer (1 Post)
- frankthetank (4 Posts)
- qooleot (3 Posts)
- gianpaulo (1 Post)
- dennispg (9 Posts)
- dasnk (1 Post)
- grahamda (1 Post)
- sdavids (1 Post)
- jasonb885 (1 Post)
- wemerson.januario (1 Post)
- dizor (3 Posts)
- Stju (5 Posts)
- extjs_new (1 Post)
- senacle (1 Post)
- elderotaku (2 Posts)
- Dumas (1 Post)
- grzegorz.borkowski (13 Posts)
- bueth (1 Post)
- nonyus (2 Posts)
- travisbell (2 Posts)
- Jangla (2 Posts)
- woooop (2 Posts)
- MH61 (2 Posts)
- TDub (1 Post)
- antoniode (5 Posts)
- xiongzhijian51 (1 Post)
- l0ga4 (1 Post)
- nohurge (2 Posts)
- MarkBOneSmart (1 Post)
- The Transporter (2 Posts)
- swarnendude (1 Post)
- arconen (2 Posts)
- mratzloff (9 Posts)
- Tom23 (1 Post)
- nadim (15 Posts)
- hongtj (2 Posts)
- max.hauser (2 Posts)
- dcw (1 Post)
- pilotsnipes (2 Posts)
- matthewcrist (2 Posts)
- fargs (1 Post)
- dvuja2 (2 Posts)
- sudhirhv (1 Post)
- lanhun (2 Posts)
- galoch (1 Post)
- frrogoy (1 Post)
- tboswell (1 Post)
- ozum (5 Posts)
- scusyxx (1 Post)
- hoca (1 Post)
- jayasreepc (1 Post)
- Jensen (1 Post)
- icarey (5 Posts)
- mohan_b (1 Post)
- skbach_pointyhat (1 Post)
- timbonicus (3 Posts)
- rachid.abdessamad (1 Post)
- ajitmogra (1 Post)
- Korbin (1 Post)
- istetska (3 Posts)
- ian.young (1 Post)
- muncher (2 Posts)
- sebterzi (2 Posts)
- forestclown (1 Post)
- Akey (1 Post)
- pret (1 Post)
- OpnSrce (1 Post)
- sriramkumarp (1 Post)
- extjs-dev (4 Posts)
- mvoss (1 Post)
- thomaskee007 (1 Post)
- rajshinny (1 Post)
- masood (1 Post)
- sebholl (1 Post)
- forestkwan (1 Post)
- deepthi_r (1 Post)
- panshr (1 Post)
- brian.moeskau (1 Post)
- ldashevskiy (1 Post)
- lbilde (1 Post)
- aoyii (1 Post)