22 Sep 2011 1:44 PM #1
Unanswered: How to convert a dom input to a Ext.form.field.Text
i have an html input that i want to get and apply some ext listeners. The problem is that this dom element is not an Ext component so i can't use all the functionalities.
23 Sep 2011 5:07 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
What events are you wanting to listen for? Do you need to create a Component out of it or just need to do Ext.get and add listeners to the dom?
If you want to create a Component, believe contentEl is the way to go for you.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.