This issue duplicates another issue.
  1. #1
    Sencha Premium Member
    Join Date
    Mar 2013
    Posts
    6
    Vote Rating
    0
    Pradyumna_Naik is on a distinguished road

      0  

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

    <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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,649
    Vote Rating
    817
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Believe the cause is the same as this bug: http://www.sencha.com/forum/showthread.php?264579
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1