23 Apr 2012 6:01 AM #1
Disable "Add to contacts" and "Copy"
I'm creating an application that populates a Dataview through a store.
In this store I have a numeric string field that is automatically interpreted by sencha as phone number: it is represented by a link which, when clicked, brings up a window with the options "Add to contacts" and "Copy".
How can I avoid this behavior by displaying a simple string of numbers?
25 Apr 2012 6:00 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Sencha shouldn't be doing the auto phone number link, that is a browser behavior.Mitchell Simoens @LikelyMitch
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 firstname.lastname@example.org
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.
25 Apr 2012 11:39 PM #3
Yes it's true... As they say: you learn when you're wrong!
I did a little research and found this html line...
<meta name="format-detection" content="telephone=no" />
When I've added it to sencha index, phone number autodetection of safari was disabled and so the problem was fixed. For more information:
Thanks for the help mitchellsimoens