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.

    Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-958 in a recent build.
  1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    10
    Vote Rating
    0
    JanLoesbrock is on a distinguished road

      0  

    Default [PR1] radiofield getValue

    [PR1] radiofield getValue


    The getValue-methode from radiofield use the inherited getValue-methode from checkbox, so it returns only true or false and not the config.value.

    Tested on Chrome 15.0.874.106 beta

    kind regards
    Jan

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report.

  3. #3
    Sencha User
    Join Date
    Jan 2012
    Posts
    4
    Vote Rating
    0
    chaobin is on a distinguished road

      0  

    Default I seems suddenly get the bug, after I implement store on controller, is it related?

    I seems suddenly get the bug, after I implement store on controller, is it related?


    I can see the value using form.getValues() before. However after implement a store, the radiofield value turned to 'true' or 'null'? Example of console debug form.getValues() output:.
    • gender: true
    • name: "bill"
    • null: null
    • q1: true
    • q2: true
    • q3: true
    • q4: true
    • q5: null
    • q6: null
    • q7: null
    • q8: true
    • q9: nul
    I am using sencha-touch-all-debug.js, I could not found any bug fixes clauses? Any newer version for the file?

  4. #4
    Sencha User
    Join Date
    Jan 2012
    Posts
    4
    Vote Rating
    0
    chaobin is on a distinguished road

      0  

    Default Radiofield not get value, instead of true and null?

    Radiofield not get value, instead of true and null?


    Further reading into the sencha-touch-all-debug.js,
    on line 41118:
    getValue: function() {
    return this._value;
    },

    and my debug on gender radio field has the value:
    • _name: "gender"
    • _required: false
    • _requiredCls: "x-field-required"
    • _styleHtmlCls: "x-html"
    • _tabIndex: -1
    • _ui: "radio"
    • _value: "m"
    Therefore, the returned value should be 'm' instead of 'true'?

    On my view realated code:

    { xtype: 'radiofield', name: 'gender', label: 'Male', value: 'm' }, { xtype: 'radiofield', name: 'gender', label: 'Female', value: 'f' }
    Many Thanks if anyone could answer this?



  5. #5
    Sencha User
    Join Date
    Jan 2012
    Posts
    4
    Vote Rating
    0
    chaobin is on a distinguished road

      0  

    Default Figured out a way to get around the problem

    Figured out a way to get around the problem


    It is pain, however have to get over it, I figured out to add a listener for the check event and set the value for the field using form model, here is the function:

    doCheck: function( e){

    var aValue=e._value;

    var form=e.up();

    form.getRecord().set(e.getName(), aValue);
    }

Thread Participants: 2