views:

28

answers:

1

hi, as I can get my textfield displays the contents as <a>?

items: [{
  xtype: 'textfield',
  value: '<a href="www.google.com"> www.google.com </a>' <--
}]
A: 

No, you can not do that with textfield or textarea. If you only want the link, the following works:

                    fieldLabel: 'Attention',
                html: '<a href="http://google.com"&gt;xxxxxxxxxxx&lt;/a&gt;',
Natkeeran