Looking for the old docs site? You can still view it for a limited time here.

FieldService

Description

Twigkit service for getting the values from a field

Methods

  • getDisplayValue(field)

    Gets the correct property from the value object

    Parameters
    Param Type Details
    field mixed

    The field to find a display value in.

  • getValues(field)

    Gets an array of all values for the field

    Parameters
    Param Type Details
    field mixed

    The field to find all the values in