1. #31
    Ext JS Premium Member prophet's Avatar
    Join Date
    Mar 2007
    Location
    Greenwich, CT
    Posts
    187
    Vote Rating
    0
    prophet is on a distinguished road

      0  

    Default


    scottw's onSelect fix helped me quite a bit! Thanks scottw!
    Brad Baumann

  2. #32
    Ext User
    Join Date
    Mar 2010
    Posts
    11
    Vote Rating
    0
    j0452 is on a distinguished road

      0  

    Default correct way to unset selection?

    correct way to unset selection?


    I'm using a SelectBox for an optional field. When first rendered, the SelectBox has no selection. If you select something, there's no way to unset the SelectBox, all you can do is select a different option. What is the correct way to allow the user to unset the SelectBox?

    Adding an empty record to the SelectBox's store feels like a kludge. The SelectBox for the optional field in question shares a store with another SelectBox which is not optional. It would be wrong to add an empty record to the store since it would be invalid in the case of the required field. It also feels wrong to create a whole separate store just for the optional field. Is this use case supported? If not, what would be the correct way to support it? Perhaps SelectBox could accept a config parameter "allowUnset", which if true adds a blank option to the top of the list.

    Thanks in advance!

  3. #33
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,877
    Vote Rating
    62
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    I wonder if we can get a gist or git repository for this plugin ...

    This would make it easier to see what the latest was
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi