Link fields can have one or multiple types. You can use it for internal and external links but also to upload files or images.
{
"key": "link",
"label": "Link",
"type": "Link",
"options":{
"type":["entry", "external"]
}
}
{
"key": "image",
"label": "Image",
"type": "Link",
"options":{
"type": "image"
}
}Properties
help:Null<Dynamic>
Adding help or instructional text to a field.
"help": "This field can only contain letters."select_entry:Null<Int>
Start searching for entry links within a specific entry. Note: always specify a project
"select_project": ["projectname"]
"select_entry": 7select_project:Null<String>
With several projects it's possible to determine which project can be used as default when selecting entries.
"select_project": ["projectname"]show_when:Null<EitherType<ShowOptions, Array<ShowOptions>>>
The "value" can be set to "null" of "!null" to check if something is empty.type:Null<Dynamic>
Set one or multiple types. If you don't define a type then they are all available.
"type": ["image", "file", "entry", "external"]