1. #1
    Sencha User
    Join Date
    Jul 2008
    Posts
    64
    Vote Rating
    1
    bradlymathews is on a distinguished road

      0  

    Default State not saving in text box

    State not saving in text box


    Hello,

    State is not working for me on form text boxes.

    I am setting up the state manager using:
    Code:
    Ext.state.Manager.setProvider(Ext.create('Ext.state.CookieProvider'));
    I am then creating a textbox like:
    Code:
    {
        fieldLabel: '<span style="color:red;">*</span> First Name',
        allowBlank: false,
        id: 'nameOnCardFirst',
        stateful: true,      // Is this even needed in 4.0.7? Demo does not use it.
        stateId: 'statenameOnCardFirst',
        stateEvents: ['change'],        // Again, needed? Demo does not use it.
        name: 'nameOnCardFirst'
    }
    I enter a value in the field, move off the field to trigger the change event, refresh the page and the field is blank.

    What am I missing?

    Thanks,
    Brad

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    I don't think textbox is a stateful widget.

Thread Participants: 1

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