Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    May 2009
    Posts
    10
    Vote Rating
    0
    eDissideNT is on a distinguished road

      0  

    Exclamation [INFOREQ] Can't edit text in input fields in Ext.List

    [INFOREQ] Can't edit text in input fields in Ext.List


    If I add text field (input or textarea) to any item of Ext.List, I can't edit or select text in this field.

    Code:
    tpl: '<tpl for="."><input type="text" name="text"></tpl>'
    Thanks.

  2. #2
    Ext User
    Join Date
    Jul 2010
    Location
    Kanagawa, Japan
    Posts
    12
    Vote Rating
    0
    taka_2 is on a distinguished road

      0  

    Default


    The following code works well.
    Can you accomplish your goals?


    Code:
    Ext.setup({
        onReady : function() {
            Ext.regModel('Contact', {
                fields: ['firstName', 'lastName']
            });
            
            var groupingBase = {
                fullscreen: true,
                tpl: '<tpl for="."><input type="text" name="text"><br></tpl>',
                itemSelector: 'div.contact',
                singleSelect: true,
    
                store: new Ext.data.Store({
                    model: 'Contact',
                    sorters: 'firstName',
    
                    data: [
                        {firstName: 'Tommy', lastName: 'Maintz'}, 
                        {firstName: 'Ed', lastName: 'Spencer'}
                    ]
                }),
                listeners: {
                    itemtap: function(dataView, index, item, e) {
                        alert(dataView.getSelectedRecords()[0].get('firstName'));
                    }
                }
            };
            new Ext.List(groupingBase);
        }
    });
    http://jsdo.it/taka_2/5c5U

Similar Threads

  1. [INFOREQ][3.1.1] disabled fields chop text in FF3.5.7+
    By vtswingkid in forum Ext 3.x: Bugs
    Replies: 2
    Last Post: 18 Feb 2010, 3:47 PM
  2. Display text between input fields?
    By Dumas in forum Ext 2.x: Help & Discussion
    Replies: 10
    Last Post: 22 Mar 2009, 3:45 PM
  3. Ext.ux.layout.AutoTableFormLayout: Multiple fields, Buttons+Text right besides fields
    By wuschba in forum Ext 2.x: User Extensions and Plugins
    Replies: 19
    Last Post: 20 Nov 2008, 2:42 AM

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar