Description
Twigkit service for getting the values from a fieldMethods
getDisplayValue(field)
Gets the correct property from the value objectParameters
| Param | Type | Details |
|---|---|---|
| field | mixed | The field to find a display value in. |
getValues(field)
Gets an array of all values for the fieldParameters
| Param | Type | Details |
|---|---|---|
| field | mixed | The field to find all the values in |
isRange(value)
Returns a boolean based on if the value (field.val) is a range.Parameters
| Param | Type | Details |
|---|---|---|
| value | object | The val object from a field or filter to check if it is a range. |