Entry

    The entry field can be used to link to an internal page.

    import {Field} from 'alinea'
    
    Field.entry('Single entry link')
    
    Field.entry.multiple('Multiple entry links')

    Configuration

    max

    Limit the amount of rows in case of multiple links.

    defaultView

    Preset the UI to show rows or thumbnails (possible values: "row", "thumb")

    condition

    Limit the pages shown in the explorer to this condition. Conditions can be built using fields in the same way as described in the querying content chapter.

    import {Field, Query} from 'alinea'
    
    Field.entry('Link to author', {
      condition: Query.type.is('Author')
    })