Reputation: 883
I cant seem to find a way to delete this little phone Icon.
Im currently trying to remove this Icon via JavaScript but I cannot find a way to remove that Icon. Nothing I found in the formContext is useful. I thought that the control of formContext.getControl("myprefix_businessphone")
has the icon in it, too. But the options there are for the field only (as far as I've found).
Upvotes: 0
Views: 590
Reputation: 108
Changing the format from Phone to Text for that Data Type will prevent the phone icon from being displayed if you have this option in your environment.
Upvotes: 0
Reputation: 22836
This is click-to-dial functionality for any phone number field in CRM UCI form. Anything you try from the internet suggestion is going to be unsupported which may break in future release.
Other choices are - you can have a new custom plain text field to store the phone number data instead of phone number format, or develop your own PCF control to render the same existing field without icon.
Upvotes: 1