1. #311
    Sencha User
    Join Date
    Dec 2008
    Location
    Lodz, Poland
    Posts
    173
    Vote Rating
    3
    grzegorz.borkowski is on a distinguished road

      0  

    Default


    Quote Originally Posted by dvuja2 View Post
    Is there a way to force it to except only one value (kind of like a normal combo)?
    That's exactly what was yesterday's hot topic

  2. #312
    Sencha User
    Join Date
    Oct 2009
    Posts
    27
    Vote Rating
    0
    dvuja2 is on a distinguished road

      0  

    Default


    Lazy reader

    Did anybody test validationEvent: false? It doesn't work for me.

  3. #313
    Ext User
    Join Date
    May 2007
    Posts
    11
    Vote Rating
    0
    phillipL is on a distinguished road

      0  

    Default Feature request: split entered values at delimiter

    Feature request: split entered values at delimiter


    Hello,

    while using the SuperBoxSelect, I noticed that values the user inserts into the box containing the delimiter are not splitted after pressing enter before they are assigned to the box. I would prefer a behavior like that implemented in the setValue() method, which splits the values at the delimiter.

    Example:
    New value inserted: My new value, another value, third value
    After Pressing enter: (My new value, another value, third value)
    Preferred behavior : (My new value) (another value) (third value)

    What is your opinion about that?

    Regards,
    Phillip

  4. #314
    Sencha User
    Join Date
    Dec 2008
    Location
    Lodz, Poland
    Posts
    173
    Vote Rating
    3
    grzegorz.borkowski is on a distinguished road

      0  

    Default


    Two small issues/bugs that I observed recently:
    1. I wanted to render box items as links (I mean text on box items is rendered as link). It can be done easily using displayFieldTpl. However, clicking on such link doesn't work - the event is captured and stopped. The culprit is this method:
    Code:
     enableElListeners : function() {
            this.el.on('click', this.onElClick, this, {stopEvent:true});
    
            this.el.addClassOnOver('x-superboxselect-item x-superboxselect-item-hover');
        },
    I changed "stopEvent" to "stopPropagation" and links started to work (I also haven't observed any negative side effects of this change):
    Code:
     enableElListeners : function() {
            this.el.on('click', this.onElClick, this, {stopPropagation:true});
    
            this.el.addClassOnOver('x-superboxselect-item x-superboxselect-item-hover');
        },
    2. When we already have the items rendered as links, it looks strange that the "Remove item" button (the "X" button on the item box) is rendered as link too, and you see dummy URL in browser status bar while hovering over this button. So I've found this code:
    Code:
    var btnEl = this.owner.navigateItemsWithTab ? ( Ext.isSafari ? 'button' : 'a') : 'span';
    It looks suspicious to me: why the "a" is used as default, and "button" only on Safari? IMHO, the "button" default is much more reasonable (becuase what you see in UI is actually a button). The only explanation for using link is to to have hover effect in IE6. So I changed it to:
    Code:
    var btnEl = this.owner.navigateItemsWithTab ? ( Ext.isIE6 ? 'a' : 'button') : 'span';
    I had to also change the code a few lines below to make it work properly:
    Code:
            if(btnEl === 'a'){
                cfg.href = '#';
            }
            //change default "submit" type to "button" to prevent dummy URL showing up in browser status bar on hover
            if(btnEl === 'button'){
                cfg.type = 'button';
            }
    Now it renders as "button" in all browsers except IE6, and works better, because you don't see the dummy link URL on hover.

  5. #315
    Ext User
    Join Date
    Mar 2009
    Posts
    2
    Vote Rating
    0
    woooop is on a distinguished road

      0  

    Default Store error

    Store error


    Hi all ,first of all , congrats to the author for this amazing extension

    I am having an error when using it and not find out why.

    I have a window with a form inside, and a superboxselect in their fields, with settings:

    allowBlank:false,
    xtype:'superboxselect',
    id:'test',
    name :'test',
    fieldLabel: 'test',
    emptyText: 'test',
    store: myStore,
    mode: 'local',
    displayField: 'Name',
    displayFieldTpl: '{Name}',
    valueField: 'UserId'

    When I open that window to close it show me an error

    This.store is null (this.store.clearFilter) on SuperBoxSelect.js line 1011

    In another window and a different designation form, which makes is that the entire form disappears.

    I try with the examples states store , and same error

    Does anyone have an idea that could be happening?

    Thanks a lot

  6. #316
    Ext User
    Join Date
    Mar 2009
    Posts
    2
    Vote Rating
    0
    woooop is on a distinguished road

      0  

    Default


    Seems to be related to the this.resetStore(); call in killItems function . If i comment this line, everything seems to work ok

  7. #317
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    698
    Vote Rating
    3
    danh2000 is on a distinguished road

      0  

    Default


    Quote Originally Posted by woooop View Post
    Hi all ,first of all , congrats to the author for this amazing extension

    I am having an error when using it and not find out why.

    I have a window with a form inside, and a superboxselect in their fields, with settings:

    allowBlank:false,
    xtype:'superboxselect',
    id:'test',
    name :'test',
    fieldLabel: 'test',
    emptyText: 'test',
    store: myStore,
    mode: 'local',
    displayField: 'Name',
    displayFieldTpl: '{Name}',
    valueField: 'UserId'

    When I open that window to close it show me an error

    This.store is null (this.store.clearFilter) on SuperBoxSelect.js line 1011

    In another window and a different designation form, which makes is that the entire form disappears.

    I try with the examples states store , and same error

    Does anyone have an idea that could be happening?

    Thanks a lot
    I have my own test case for opening a window and closing it which works without error. If you are having problems, please post a copy-pasteable test case as per this thread:

    http://www.extjs.com/forum/showthread.php?t=71015

    Thanks.

  8. #318
    Sencha - Services Team Stju's Avatar
    Join Date
    Dec 2008
    Location
    Redwood city, California
    Posts
    288
    Vote Rating
    3
    Stju is on a distinguished road

      0  

    Lightbulb


    In 3.1.1 this line in ext-all.css looks like is conflicting
    Code:
    .ext-strict .x-small-editor .x-form-text {
        height:16px !important;
    }
    making superbox container unable to stretch vertically.

    In 3.0 height is defined without '!important', thus removed, puts everything back in place, but probably destroys something else, as I guess it's made the way there for purpose ...

  9. #319
    Sencha - Services Team Stju's Avatar
    Join Date
    Dec 2008
    Location
    Redwood city, California
    Posts
    288
    Vote Rating
    3
    Stju is on a distinguished road

      0  

    Wink


    Quote Originally Posted by danh2000 View Post
    Hi All,

    UPDATE 18/01/2009

    Fixed regression where disabling the component didn't properly disable the items.

    UPDATE 16/01/2009 (Part 2)

    Fixed to prevent extra empty hiddenName value from being posted.
    .
    .
    .
    Just wanted to notice, that great Year of 2010 is here (This years updates are still marked as 2009)
    Have a nice weekend!
    Stju

  10. #320
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    698
    Vote Rating
    3
    danh2000 is on a distinguished road

      0  

    Default


    Thanks @Stju

    I'll look at the CSS and change the update years - doh!

Thread Participants: 119

  1. galdaka (9 Posts)
  2. aconran (1 Post)
  3. stever (4 Posts)
  4. dj (1 Post)
  5. mystix (18 Posts)
  6. MarkB (3 Posts)
  7. DrZog (1 Post)
  8. JorisA (2 Posts)
  9. jheid (3 Posts)
  10. Joe (1 Post)
  11. mschering (1 Post)
  12. gigel (1 Post)
  13. akannu (1 Post)
  14. phillipL (1 Post)
  15. badgerd (1 Post)
  16. cmendez21 (1 Post)
  17. mjlecomte (1 Post)
  18. grgur (1 Post)
  19. xantus (1 Post)
  20. garraS (3 Posts)
  21. vahid4134 (2 Posts)
  22. Lloyd K (2 Posts)
  23. boonkerz (3 Posts)
  24. crxtech (3 Posts)
  25. mishanian (7 Posts)
  26. fpw23 (1 Post)
  27. sanjshah (6 Posts)
  28. Zolcsi (1 Post)
  29. SharePat (1 Post)
  30. mjhaston (1 Post)
  31. radtad (16 Posts)
  32. Joyfulbob (2 Posts)
  33. kveeiv (1 Post)
  34. armandoxxx (2 Posts)
  35. imran (1 Post)
  36. Eric24 (1 Post)
  37. drunknmunky (1 Post)
  38. raphac (1 Post)
  39. charleshimmer (1 Post)
  40. frankthetank (4 Posts)
  41. qooleot (3 Posts)
  42. gianpaulo (1 Post)
  43. dennispg (9 Posts)
  44. dasnk (1 Post)
  45. grahamda (1 Post)
  46. sdavids (1 Post)
  47. jasonb885 (1 Post)
  48. wemerson.januario (1 Post)
  49. dizor (3 Posts)
  50. Stju (5 Posts)
  51. extjs_new (1 Post)
  52. senacle (1 Post)
  53. elderotaku (2 Posts)
  54. Dumas (1 Post)
  55. grzegorz.borkowski (13 Posts)
  56. bueth (1 Post)
  57. nonyus (2 Posts)
  58. travisbell (2 Posts)
  59. Jangla (2 Posts)
  60. woooop (2 Posts)
  61. MH61 (2 Posts)
  62. TDub (1 Post)
  63. antoniode (5 Posts)
  64. xiongzhijian51 (1 Post)
  65. l0ga4 (1 Post)
  66. nohurge (2 Posts)
  67. MarkBOneSmart (1 Post)
  68. The Transporter (2 Posts)
  69. swarnendude (1 Post)
  70. arconen (2 Posts)
  71. mratzloff (9 Posts)
  72. Tom23 (1 Post)
  73. nadim (15 Posts)
  74. hongtj (2 Posts)
  75. max.hauser (2 Posts)
  76. dcw (1 Post)
  77. pilotsnipes (2 Posts)
  78. matthewcrist (2 Posts)
  79. fargs (1 Post)
  80. dvuja2 (2 Posts)
  81. sudhirhv (1 Post)
  82. lanhun (2 Posts)
  83. galoch (1 Post)
  84. frrogoy (1 Post)
  85. tboswell (1 Post)
  86. ozum (5 Posts)
  87. scusyxx (1 Post)
  88. hoca (1 Post)
  89. jayasreepc (1 Post)
  90. Jensen (1 Post)
  91. icarey (5 Posts)
  92. mohan_b (1 Post)
  93. skbach_pointyhat (1 Post)
  94. timbonicus (3 Posts)
  95. rachid.abdessamad (1 Post)
  96. ajitmogra (1 Post)
  97. Korbin (1 Post)
  98. istetska (3 Posts)
  99. ian.young (1 Post)
  100. muncher (2 Posts)
  101. sebterzi (2 Posts)
  102. forestclown (1 Post)
  103. Akey (1 Post)
  104. pret (1 Post)
  105. OpnSrce (1 Post)
  106. sriramkumarp (1 Post)
  107. extjs-dev (4 Posts)
  108. mvoss (1 Post)
  109. thomaskee007 (1 Post)
  110. rajshinny (1 Post)
  111. masood (1 Post)
  112. sebholl (1 Post)
  113. forestkwan (1 Post)
  114. deepthi_r (1 Post)
  115. panshr (1 Post)
  116. brian.moeskau (1 Post)
  117. ldashevskiy (1 Post)
  118. lbilde (1 Post)
  119. aoyii (1 Post)

Tags for this Thread

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