$field->toFormValue()
Returns the value of the field in a format to be used in forms (e.g. used as data for Panel Vue components)
$field->toFormValue(): mixed
Return type
mixed
This method modifies the existing $field
object it is applied to and returns it again.