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
    Feb 2012
    Location
    India
    Posts
    49
    Vote Rating
    0
    Shafnas is on a distinguished road

      0  

    Default Unanswered: Numberfield error - sencha 2

    Unanswered: Numberfield error - sencha 2


    Hi,
    I am using sencha 2 mvc. and Iam having some issues when using
    Code:
    xtype:'numberfield', 
                                                name:'testfee',
                                                id:'testfee', 
                                                width:50,
    minValue:1,
                                                maxLength:10
    When I enter a value it is displayed, but when I click mouse out, and then click inside the field, it disappears and cant edit then on. What is the problem, I tried for many days, and couldn't find it..Please help me...Also I want to decrease the height of numberfield box, but how to?

    Please some one help me

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Location
    Bangalore, India
    Posts
    139
    Answers
    2
    Vote Rating
    1
    shaleen is on a distinguished road

      0  

    Default


    its maxValue not maxLength
    Maxlength is for The maximum number of permitted input characters.

    use maxHeight and minHieght for setting the height

    Quote Originally Posted by Shafnas View Post
    Hi,
    I am using sencha 2 mvc. and Iam having some issues when using
    Code:
    xtype:'numberfield', 
                                                name:'testfee',
                                                id:'testfee', 
                                                width:50,
    minValue:1,
                                                maxLength:10
    When I enter a value it is displayed, but when I click mouse out, and then click inside the field, it disappears and cant edit then on. What is the problem, I tried for many days, and couldn't find it..Please help me...Also I want to decrease the height of numberfield box, but how to?

    Please some one help me

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Location
    India
    Posts
    49
    Vote Rating
    0
    Shafnas is on a distinguished road

      0  

    Default


    I just gave this:
    xtype:'numberfield',
    name:'testfee',
    id:'testfee',
    width:50,
    minHieght:5

    But again when entered value, clicked mouse outside and then inside , it clears and default to 0 every time.

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Location
    Bangalore, India
    Posts
    139
    Answers
    2
    Vote Rating
    1
    shaleen is on a distinguished road

      0  

    Default


    Ext.create('Ext.form.Panel', {
    fullscreen: true,
    items: [
    {
    xtype: 'fieldset',
    title: 'hiii',
    items: [
    {
    xtype:'numberfield',
    name:'testfee',
    id:'testfee',
    width:50,
    minHieght:5

    }
    ]
    }
    ]
    });

    This is working fine...check if in controller u are setting and reseting..

  5. #5
    Sencha User
    Join Date
    Feb 2012
    Location
    India
    Posts
    49
    Vote Rating
    0
    Shafnas is on a distinguished road

      0  

    Default


    May be my structure is like this:

    {
    xtype:'fieldset',
    id:'buying',
    items:[
    {
    xtype:'selectfield',
    ...........
    ......},
    {
    xtype:'panel',
    id:'boxclosing',
    width:305,
    hidden:true,
    items:[
    {
    xtype:'numberfield',
    name:'testfee',
    id:'testfee',
    width:50,
    minHieght:5
    //minValue: 1,
    //maxValue: 10,
    }]
    }]

    On selecting the selectbox, I show the number field

  6. #6
    Sencha User
    Join Date
    Mar 2012
    Location
    Bangalore, India
    Posts
    139
    Answers
    2
    Vote Rating
    1
    shaleen is on a distinguished road

      0  

    Default


    seems to be fine..

  7. #7
    Sencha User
    Join Date
    Feb 2012
    Location
    India
    Posts
    49
    Vote Rating
    0
    Shafnas is on a distinguished road

      0  

    Default


    , Anyways, thanks for your response

Thread Participants: 1

Tags for this Thread