Sometimes, but not always, the text in an onsen-list-item is decorated. It only happens with addresses in iOS. I have attached a screenshot below. Is there a way to prevent this?
Asked
Active
Viewed 69 times
1

MoreScratch
- 2,933
- 6
- 34
- 65
-
I believe this is due to iOS auto-detecting it as a phone number. When you click it, does it open the dialer? – Munsterlander Feb 24 '16 at 03:22
-
Did my answer below help you out? – Munsterlander Feb 27 '16 at 06:37
-
1Yes thanks for your help. – MoreScratch Feb 27 '16 at 21:48
1 Answers
0
The answer is here: How to disable phone number linking in Mobile Safari?
Basically, you need: <meta name="format-detection" content="telephone=no">
Then you can explicitly set telephone numbers with the tel uri as defined here: https://developer.apple.com/library/safari/featuredarticles/iPhoneURLScheme_Reference/PhoneLinks/PhoneLinks.html#//apple_ref/doc/uid/TP40007899-CH6-SW1

Community
- 1
- 1

Munsterlander
- 1,356
- 1
- 16
- 29