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.

Threaded View

  1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    168
    Answers
    1
    Vote Rating
    1
    Dmoney is on a distinguished road

      0  

    Default Answered: checkboxfield is always true

    Answered: checkboxfield is always true


    I have a form with checkboxfields. the form is filled by using loadRecord() and saved by using record.set(values);

    but the checked value never changes. if I change it manually in the database than the record will show up unchecked in the form. but whenever I submit the form it always submits as true. how do I get the unchecked value to update in the record?

    Code:
    , {
                xtype: 'checkboxfield',
                name: 'display',
                id: 'display',
                fieldLabel: 'Display',
                inputValue: 'true',
                boxLabel: 'Displayed Online'
            }

  2. Try to config your checkbox fields with uncheckedValue.
    Code:
    , {
        xtype: 'checkboxfield',
        name: 'display',
        id: 'display',
        fieldLabel: 'Display',
        inputValue: 'true',
        uncheckedValue: 'false',
        boxLabel: 'Displayed Online'
    }

Thread Participants: 1