I have a directus 9 project. One table is for contacts.
Contacts have emails and a special button to click which leads to an external site.
Is it possible to directly click the email (as a mailto: link) and also show to button in the page view?
Advertisement
Answer
I think you’re looking for Custom displays. In the component field you’d need to determine if the value is a link and return it as such, possibly with linkify-string or regex patterns.