1. #1
    Ext JS Premium Member
    Join Date
    Nov 2008
    Posts
    282
    Vote Rating
    3
    wki01 is on a distinguished road

      0  

    Wink validate in combo extend no work

    validate in combo extend no work


    this piece of code does not work.
    the alert is never executed.

    thanks

    Code:
    Ext.define('Test.ComboBox', {
        extend: 'Ext.form.ComboBox',
        alias: 'widget.testcombo',
        
        validate: function() {                     
            alert("VALIDATE")        // <---- never go here
        }
    });
    Code:
    ......
                { 
                    xtype: 'testcombo', fieldLabel: 'TEST', 
                    displayField: 'v',
                    valueField: 'v', 
                    queryMode: 'local',                                   
                    store: new Ext.data.ArrayStore({
                       fields: [ 'v' ],
                       data: [['YES'], ['NO'], ['?']]
                   })       
                },
    .....

  2. #2
    Ext JS Premium Member
    Join Date
    Nov 2008
    Posts
    282
    Vote Rating
    3
    wki01 is on a distinguished road

      0  

    Default


    It has been moved ... is not a bug?

Similar Threads

  1. How to extend a proxy to work over a messagequeue
    By jash in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 23 Dec 2010, 5:54 AM
  2. How to validate a combo textbox value is a selected item?
    By bryanevil in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 20 Jul 2010, 12:46 AM
  3. validate value for textbox validate values are comma separated
    By amey7p in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 16 Feb 2009, 7:40 AM
  4. Please help validate combo
    By Air_Mike in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 4 Nov 2007, 8:00 AM
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