1. #81
    Ext JS Premium Member
    Join Date
    Jul 2008
    Location
    Berkeley, CA
    Posts
    33
    Vote Rating
    2
    ernst96 is on a distinguished road

      0  

    Default Overlap when using with Ext.ux.form.field.ClearButton in stacked mode

    Overlap when using with Ext.ux.form.field.ClearButton in stacked mode


    Thank you for this extension.

    I noticed that when using it with Ext.ux.form.field.ClearButton and stacked is set to true the selected item overlaps with the clear button.

    I have added this hack to to BoxSelect.css

    Code:
    .x-boxselect-stacked .x-boxselect-item {
           display: block;
        
          /* HACK added  to prevent overlap of staked items */
          margin-right: 16px;
        
    }

    I am using version 1.3.1 of the extension and Ext 4.0.7

  2. #82
    Sencha User
    Join Date
    May 2011
    Posts
    3
    Vote Rating
    0
    yumaa is on a distinguished road

      0  

    Default


    kveeiv, thank you for this extension!

    I found, that if multiSelect: false and queryMode: remote and field already contains some value, and I want to add another unknown value via addValue(), but record is still unknown after store load → this action erase my first value.

    I've made a little fix of this issue, in method setValue, in the end:
    Code:
      /**
       * For single-select boxes, use the last value
       */
            if (!me.multiSelect && (value.length > 0)) {
                // we won't add unknown value, coz it erase necessary value
                // so we use last !known! value
                if (skipLoad && unknownValues.length > 0 && me.queryMode === 'remote') {
                    for (i = value.length - 1; i >= 0; i--)
                        if (value[i].isModel) {
                            value = value[i];
                            break;
                        }
                } else
                    value = value[value.length - 1];
            }

  3. #83
    Ext JS Premium Member
    Join Date
    Mar 2008
    Location
    Phoenix, AZ
    Posts
    627
    Vote Rating
    9
    zombeerose will become famous soon enough zombeerose will become famous soon enough

      0  

    Default


    Have you tested against 4.1PR? I am getting this error when my form is rendering: "Uncaught TypeError: Object [object Object] has no method 'setElementSize'" on line 1287 of the sizeBodyContents method.

    I tested against your version 1.1 and 1.3.1.

    Thanks for such an awesome extension!

  4. #84
    Sencha Premium Member
    Join Date
    Jan 2008
    Location
    Los Angeles
    Posts
    149
    Vote Rating
    1
    radtad is on a distinguished road

      0  

    Default


    Awesome plugin! A small bug that is annoying. If I set the following:

    Code:
    triggerOnClick: false
    The trigger input never focuses if the growMin is larger than the trigger input unless I specifically click inside of the input box itself. If I turn triggerOnClick: true, it works as expected.

  5. #85
    Sencha Premium Member
    Join Date
    Mar 2008
    Posts
    92
    Vote Rating
    1
    kveeiv is on a distinguished road

      0  

    Default


    Thanks for everyone's continued support, issue reports, contributions, and general thanks. Its been a busy few weeks and I haven't had time to circle back and include all of these updates, but I will soon.

    As for 4.1 support, I will likely not be releasing anything for that version until after the next PR/alpha/beta release is issued. As this particular release heavily impacts the method of rendering and layout for custom advanced components such as this one, I will need to update the templates and drawing processes for BoxSelect to utilize this significantly higher performing option. This will be BoxSelect 2.0, and will likely not be backwards compatible against earlier versions of ExtJS.

    In the meantime, I will get back to this version and have an update out within the next week or so, hopefully with some other new features that people have been requesting for a while.

  6. #86
    Ext JS Premium Member
    Join Date
    Mar 2008
    Location
    Phoenix, AZ
    Posts
    627
    Vote Rating
    9
    zombeerose will become famous soon enough zombeerose will become famous soon enough

      0  

    Default


    Good to hear!

    In the meantime, here is a patch for running against 4.1PR1:
    Code:
        sizeBodyContents: function(width, height) {
            var me = this,
            owner = me.owner,
            triggerWrap = owner.triggerWrap,
            triggerWidth = owner.getTriggerWidth(),
            itemList, inputEl, inputElCt, lastEntry,
            listBox, listWidth, inputWidth;
    
    
            // If we or our ancestor is hidden, we can get a triggerWidth calculation
            // of 0.  We don't want to resize in this case.
            if (owner.hideTrigger || owner.readOnly || triggerWidth > 0) {
                itemList = owner.itemList;
    
    
                // Decrease the field's width by the width of the triggers. Both the field and the triggerWrap
                // are floated left in CSS so they'll stack up side by side.
                itemList.setSize(Ext.isNumber(width) ? width - triggerWidth : width, height); //PC121511: me.setElementSize(itemList, Ext.isNumber(width) ? width - triggerWidth : width, height);
    
    
                // Explicitly set the triggerWrap's width, to prevent wrapping
                triggerWrap.setWidth(triggerWidth);
    
    
                // Size the input el to take up the maximum amount of remaining list width,
                // or the entirety of list width to cause wrapping if too little space remains.
                inputEl = owner.inputEl;
                inputElCt = owner.inputElCt;
                listBox = itemList.getBox(true, true);
                listWidth = listBox.width;
    
    
                if ((owner.grow && owner.growMax && (itemList.dom.scrollHeight > (owner.growMax - 25))) ||
                    (owner.isFixedHeight() && (itemList.dom.scrollHeight > itemList.dom.clientHeight))) {
                    listWidth = listWidth - Ext.getScrollbarSize().width;
                }
                inputWidth = listWidth - 10;
                lastEntry = inputElCt.dom.previousSibling;
                if (lastEntry) {
                    inputWidth = inputWidth - (lastEntry.offsetLeft + Ext.fly(lastEntry).getWidth() + Ext.fly(lastEntry).getPadding('lr'));
                }
                if (inputWidth < 35) {
                    inputWidth = listWidth - 10;
                }
    
    
                if (inputWidth >= 0) {
                    inputEl.setWidth(inputWidth); //PC121511: me.setElementSize(inputEl, inputWidth);
                    if (owner.hasFocus) {
                        inputElCt.scrollIntoView(itemList);
                    }
                }
            }
        }

  7. #87
    Sencha Premium Member
    Join Date
    Jan 2008
    Location
    Los Angeles
    Posts
    149
    Vote Rating
    1
    radtad is on a distinguished road

      0  

    Default


    Also, one more bug. The 'change' event seems to fire on creation of the component. I'm trying to fire a request to update the database on 'change' so this is really bad. To reproduce, just put a 'change' listener on and display the old and new values.

    By the way, I'm not setting any values at all and this is still happening. It shouldn't happen if I physically setValue anyway which it is also doing when I do setValues().

    If you need an example, I can provide one. Just wanted to get this bug in before I forgot.

  8. #88
    Sencha Premium Member
    Join Date
    May 2011
    Posts
    33
    Vote Rating
    0
    mrinsan is on a distinguished road

      0  

    Default are we getting BoxSelect 2.0 ? for 4.1 beta ?

    are we getting BoxSelect 2.0 ? for 4.1 beta ?


    Quote Originally Posted by kveeiv View Post
    As for 4.1 support, I will likely not be releasing anything for that version until after the next PR/alpha/beta release is issued. As this particular release heavily impacts the method of rendering and layout for custom advanced components such as this one, I will need to update the templates and drawing processes for BoxSelect to utilize this significantly higher performing option. This will be BoxSelect 2.0, and will likely not be backwards compatible against earlier versions of ExtJS.
    This is awesome combobox, in my openion it should be included in the official list of controls that sencha suplies with extjs. for its uniqueness and usability.

    however now that 4.1 beta is out, are you creating this one for it to compatible with 4.1 ? need this control real bad, for a POC or if you can provide me some minimal code fixes for it to reneder properly that would be great.

  9. #89
    Ext JS Premium Member
    Join Date
    Jan 2011
    Posts
    83
    Vote Rating
    2
    danCTS is on a distinguished road

      0  

    Default


    First let me thank you for an awesome extension. We use it in many places throughout our application.

    I have a couple of box selects in an accordion menu, the accordion panel that they are in is collapsed by default, I get this in the console when loading the page
    Uncaught TypeError: Cannot call method 'getBox' of undefined boxselect.js line 475
    If I uncollapse that accordion panel by default and reload the page the error does not occur.
    This is only happening for me in version 1.3.1 of boxselect.js I reverted to the 1.1 version I was using previously and this error does not occur. I am using version EXT 4.0.6 and just to test I tried 4.0.7 also, and I get the same error in the console. I also tested this in just a regular form panel set to collapsed: true and i get the same error.

  10. #90
    Ext JS Premium Member
    Join Date
    Apr 2010
    Location
    Midwest, USA
    Posts
    96
    Vote Rating
    2
    Reimius is on a distinguished road

      0  

    Default


    Hi, this extension is great. I only have one issue with it that seems sort of unreasonable to me that it does not have. I use this extension mostly for email addresses and it would be nice if when pasting into this field that whatever is pasted is split by the delimiter. For example, if you paste something@someplace.com;cheese@someplace.com; all at once into this field I would expect that it would actually generate two entries and not one. Thanks.

Thread Participants: 92

  1. scottw (1 Post)
  2. mysticav (2 Posts)
  3. JorisA (5 Posts)
  4. bobmanc (2 Posts)
  5. notjoshing (4 Posts)
  6. grgur (1 Post)
  7. ValterBorges (2 Posts)
  8. WebProgrammer (1 Post)
  9. Schlurcher (1 Post)
  10. zacware (2 Posts)
  11. ngd (8 Posts)
  12. radtad (2 Posts)
  13. zombeerose (13 Posts)
  14. nicholasnet (1 Post)
  15. themightychris (2 Posts)
  16. abraxxa (8 Posts)
  17. ttbgwt (1 Post)
  18. Psychokrameur (1 Post)
  19. commanche (1 Post)
  20. ernst96 (2 Posts)
  21. omarc (1 Post)
  22. qooleot (1 Post)
  23. foxmarco (1 Post)
  24. christophe.geiser (1 Post)
  25. wki01 (1 Post)
  26. purnama (1 Post)
  27. mediacept (1 Post)
  28. bareflix (2 Posts)
  29. User 0815 (1 Post)
  30. yuuzai (1 Post)
  31. talha06 (1 Post)
  32. xjpmauricio (1 Post)
  33. Smalltalker (1 Post)
  34. hazimdikenli (2 Posts)
  35. raz0r1 (1 Post)
  36. McQuack_82 (1 Post)
  37. elilindner (1 Post)
  38. hexawing (1 Post)
  39. maneljn (3 Posts)
  40. Tim Toady (2 Posts)
  41. alonweiss (1 Post)
  42. ubong (1 Post)
  43. salarmehr (5 Posts)
  44. koblass (1 Post)
  45. Karthikeyan.rajmohan (2 Posts)
  46. Reimius (1 Post)
  47. CSC-Germany (1 Post)
  48. sankarbaluz (2 Posts)
  49. alaley (2 Posts)
  50. navvn (2 Posts)
  51. danCTS (2 Posts)
  52. bentoo42 (1 Post)
  53. jmaia (2 Posts)
  54. maslofer (1 Post)
  55. sunaku (3 Posts)
  56. mrinsan (1 Post)
  57. yumaa (1 Post)
  58. rsqw (2 Posts)
  59. mahesh21688 (3 Posts)
  60. derditze (3 Posts)
  61. kunalshah6363 (1 Post)
  62. NatVik (1 Post)
  63. softwareguy (1 Post)
  64. alicexyl (7 Posts)
  65. under_dog (1 Post)
  66. tommytob (2 Posts)
  67. charlie17 (5 Posts)
  68. nathanrice (1 Post)
  69. srarnold (3 Posts)
  70. ettavolt (1 Post)
  71. qnens (1 Post)
  72. nikadod (3 Posts)
  73. PanchiKB (1 Post)
  74. Hooped (1 Post)
  75. dedoz (3 Posts)
  76. metas (1 Post)
  77. lindemann-medien (2 Posts)
  78. nathanmelis (1 Post)
  79. cyborat (1 Post)
  80. Forn (1 Post)
  81. gaurav.rehan (1 Post)
  82. Avman2119 (3 Posts)
  83. zzhouag (5 Posts)
  84. andreas-spindler (3 Posts)
  85. Alvaro L (1 Post)
  86. hown (1 Post)
  87. edson.hh (2 Posts)
  88. QuantumScripting (1 Post)
  89. chungns (1 Post)
  90. Delphine (1 Post)
  91. folivieri (1 Post)
  92. Lpsmash (1 Post)

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar