Results 1 to 2 of 2

Thread: <textarea> control is disabled when inserted into the item template of List control

    This issue duplicates another issue.
  1. #1
    Sencha Premium Member
    Join Date
    Mar 2013
    Posts
    6
    Vote Rating
    0
      0  

    Default <textarea> control is disabled when inserted into the item template of List control

    Hi Team

    I created a List control with a <textarea> control within the item template. The created list displays the <textarea> element but it is in read-only mode.

    This occurs in Sencha Touch 2.2 and was working fine in Sencha Touch 2.1.

    It seems to work well in the desktop browser, but does not work when the User Agent is set to iPad-iOS 5.
    The 2.1 version works well in the said User Agent and the iPad as well.

    The details are as below:


    Sencha Touch version tested:
    • Sencha Touch 2.2
    Browser versions tested against:
    • Chrome 27 Windows User Agent iPad-iOS 5
    • Safari iPad
    Code:
        Ext.Loader.setConfig({       enabled: true
        });
    
    
       Ext.application({
        launch: function () {
            Ext.create('Ext.List', {
           fullscreen: true,
           itemTpl: '<div>{title}</br><textarea rows="4" cols="40" 
                         placeholder="Comments..."></textarea ></div>',
           data: [
              { title: 'Item 1' },
              { title: 'Item 2' },
              { title: 'Item 3' },
              { title: 'Item 4' }
                            ]
            });
        }
    });
    Kindly let me know if an alternative is available.

    Thanks
    Pradyumna Naik

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      0  

    Default

    Believe the cause is the same as this bug: http://www.sencha.com/forum/showthread.php?264579
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •