title: How to configure click event listener for combobox afterSubTpl content
body: <p>Here I am using Ext JS 5.</p>
  <p>My use case is to show sometext below the combobox input box. So, I used &quot;afterSubTpl&quot; config of combobox and showing the required text.
  Now I have to raise an event when user clicked on the above specified text.</p>
  <p>Comboboxes should not have click event in Ext JS. How to configure click event listener for this ?</p>
  <pre><code>// The data store containing the list of states
  var states = Ext.create('Ext.data.Store', {
      fields: ['abbr', 'name'],
      data : [
          {&quot;abbr&quot;:&quot;AL&quot;, &quot;name&quot;:&quot;Alabama&quot;},
          {&quot;abbr&quot;:&quot;AK&quot;, &quot;name&quot;:&quot;Alaska&quot;},
          {&quot;abbr&quot;:&quot;AZ&quot;, &quot;name&quot;:&quot;Arizona&quot;}
      ]
  });
  
  // Create the combo box, attached to the states data store
  Ext.create('Ext.form.ComboBox', {
      fieldLabel: 'Choose State',
      store: states,
      queryMode: 'local',
      displayField: 'name',
      valueField: 'abbr',
      afterSubTpl: '&lt;div&gt;My Custom Text&lt;/div&gt;',
      renderTo: Ext.getBody()
  });
  </code></pre>
  <p><a href="https://i.stack.imgur.com/OUj8h.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OUj8h.jpg" alt="enter image description here" /></a></p>
  <p>Need to configure click event for the text shown in Red border.</p>