-
4 Sep 2010 12:25 PM #1
[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.
Thanks.Code:tpl: '<tpl for="."><input type="text" name="text"></tpl>'
-
6 Sep 2010 11:59 PM #2
The following code works well.
Can you accomplish your goals?
http://jsdo.it/taka_2/5c5UCode: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); } });
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[INFOREQ][3.1.1] disabled fields chop text in FF3.5.7+
By vtswingkid in forum Ext 3.x: BugsReplies: 2Last Post: 18 Feb 2010, 3:47 PM -
Display text between input fields?
By Dumas in forum Ext 2.x: Help & DiscussionReplies: 10Last Post: 22 Mar 2009, 3:45 PM -
Ext.ux.layout.AutoTableFormLayout: Multiple fields, Buttons+Text right besides fields
By wuschba in forum Ext 2.x: User Extensions and PluginsReplies: 19Last Post: 20 Nov 2008, 2:42 AM


Reply With Quote