Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Feb 2011
    Vote Rating
    ibO20 is on a distinguished road


    Default Ext.form.FormPanel.getValues() can't handle array inputfield

    Ext.form.FormPanel.getValues() can't handle array inputfield

    Sencha Touch version tested:
    • 1.0.1a ____
    • only default sencha-touch.css

    Platform tested against:
    • iOS 4
    • Chrome 9

    • When you have a inputfield that is an array like: fieldname[key][optional.][optional.], Sencha Touch will try to perform a isChecked function, because it expects an checkbox.

    Test Case:

        var myPanel = new Ext.form.FormPanel({
            items: [{
                xtype: 'textfield',
                name: 'mytextfield[0][]'
            }, { 
                xtype: 'textfield',
                name: 'mytextfield[0][]'
    Steps to reproduce the problem:
    • Create a formpanel object
    • Add a textfield to this formpanel with an array-like name
    • Request the formvalues with formPanel.getValues();
    • See it go in flames

    The result that was expected:
    • It should give me back an array of textfields or maybe group it inside the textfield

    The result that occurs instead:
    • Uncaught TypeError: Object [object Object] has no method 'isChecked'

    Possible fix:
    • temporary fix for current applications is to extend the formpanel class in which you override the getValues() function and check whether the field Object has an function 'isChecked'
    • permanent fix: rewrite the getValues to allow array-like textfields

  2. #2
    Sencha User
    Join Date
    Jun 2011
    Vote Rating
    apsbb is on a distinguished road



    Same here... but I dont't gen info from an Array.... Looking for a solution...

Similar Threads

  1. Replies: 2
    Last Post: 10 Dec 2010, 8:15 AM
  2. Replies: 1
    Last Post: 10 Dec 2010, 7:52 AM
  3. [3.1.1] multiple RadioGroups with same name - getValues not returning array
    By danellison in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 18 May 2010, 8:12 AM
  4. Replies: 5
    Last Post: 24 Nov 2008, 7:25 PM
  5. Replies: 1
    Last Post: 4 Jun 2008, 12:26 PM

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