Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Location
    Russia, Moscow
    Posts
    12
    Vote Rating
    0
    jmaxt is on a distinguished road

      0  

    Default Unanswered: Is 'valueNotFoundText' property of combobox work in 4.2.0.663?

    Unanswered: Is 'valueNotFoundText' property of combobox work in 4.2.0.663?


    Hello.
    I written sample of code and expects see 'Not selected'.
    But i see raw value: '-9'.
    Is it mean that 'valueNotFoundText' property of combo box are not work?

    Code:
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>RowEditiong grid's plugin bug demo</title>
    <link rel="stylesheet" href="ext/ext-theme-classic-all.css">
    <script src="ext/ext-dev.js"></script>
    </head>    
    <body>
        <script>
    Ext.onReady(function(){
    Ext.define('app.model.DictEntry',{
        extend:'Ext.data.Model',
        idProperty:'descriptorValueId',
        fields:[{
            name:'descriptorValueId',
            type:'int'
        },{
            name:'descriptorGroupId',
            type:'int'
        },{
            name:'fullValue',
            type:'string',
        },{
            name:'shortValue',
            type:'string'
        },{
            name:'valueCode',
            type:'string'
        },{
            name:'sortOrder',
            type:'int'
        },{
            name:'isActual',
            type:'int'
        },{
            name:'parentValueId',
            type:'int'
        }]
    });
    var store = Ext.create('Ext.data.ArrayStore', {
        storeId:'StoreRequirementAim',
        model:'app.model.DictEntry',
        data : [
            ["1", "","One","","","","",""],
            ["2", "","Two","","","","",""],
            ["3", "","Three","","","","",""],
            ["4", "","Four","","","","",""]
        ]
    });
    var cbReqAim = Ext.create('Ext.form.field.ComboBox', {
                fieldLabel : 'Aim of request',
                labelWidth:200,
                renderTo:Ext.getBody(),
                store : store,// ??
                width : 400,
                valueField : 'descriptorValueId',
                displayField : 'fullValue',
                queryMode : 'local',
                editable : false,
                allowBlank:false,
                validateOnChange:false,
                name:'reqAimId',
                blankText:'Aim is not selected',
                emptyText:'Empty text',
                valueNotFoundText:'Not selected'
            });
            
    cbReqAim.getStore().load({
    callback:function(){
        cbReqAim.setValue(-9);
    }
    });
    });
    </script>
    </body>
    </html>

  2. #2
    Sencha User
    Join Date
    Nov 2011
    Location
    Russia, Moscow
    Posts
    12
    Vote Rating
    0
    jmaxt is on a distinguished road

      0  

    Default


    found it!
    it does not work until 'forceSelection' is not set to 'true';