1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    55
    Vote Rating
    1
    alberto01 is on a distinguished road

      0  

    Default combobox and null value

    combobox and null value


    Hi,
    I have a form with a combobox "parent_reseller_ref". The combo is filled with the loadRecord method of the form.
    The record is specified in a store in this way:
    Code:
    {name: 'parent_reseller_ref', 
    type: 'int',
    useNull: true
    }
    The record is populated from this json:
    Code:
    {rows: [network: "test nw", parent_reseller_ref: null, zip: "00100"]}
    The problem:
    If in the json the value is "null" and i don't specify "useNull", the combo will be populated with a 0 (int) value.
    If i specify "useNull: true", the combo wille be populate with a null value, but in the json produced submitting the form (method POST and PUT) , i got an empty String! parent_reseller_ref: ""

    any ideas? How ca i force to produce a null value against a string?

    thank you .
    A.

  2. #2
    Sencha User
    Join Date
    Jan 2011
    Posts
    544
    Vote Rating
    52
    willigogs is a jewel in the rough willigogs is a jewel in the rough willigogs is a jewel in the rough

      0  

    Default


    Could you return more of your code in order to help diagnose the issue?

    i.e - the fields, store, combo, etc

Thread Participants: 1

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