Fieldtype collection link and external link

Hallo Guys,

is there an existing solution to provide both link types in one component?

Kind regards

You could use a set field.

    "fields": [
        {"name":"external_link", "type": "text"},
        {"name":"collection", "type": "collection-link",
         "options":{add the collection-link field options here}

Or create your own custom field. Here is some inspiration:

Hey @raffaelj,

thx for your suggestion. It works!