Reputation: 24621
I have a label:
url= new Ext.form.Label() url.setText("test");
but url is escaped.
Upvotes: 0
Views: 2414
Reputation: 121
You cannot create an URL from the text of the label :
{
xtype:'label',
text:'<a href="www.google.com">Google</a>'
}
This kind of code won't generate a hyperlink. Instead use a displayfield:
{
xtype:'displayfield',
value:'<a href="www.google.com">Google</a>'
}
Upvotes: 1