Q:

ExtJS 4 Set object dom ID in form panel

Ext.create('Ext.form.FormPanel', {
    title: 'Task option',
    items:[
        {
          xtype: 'textfield',
          name: 'txt-test1',
          id: 'time',

How can i retrive this object? id: 'time' not assign to element id.

A:

Ext provides a straightforward means of accessing component objects by ID:
Ext.getCmp('time')

