$roleField->toFormValue()
Returns the value of the field in a format to be used in forms (e.g. used as data for Panel Vue components)
$roleField->toFormValue(): mixed
Return type
mixed
Parent class
Kirby\Panel\Form\Field\RoleField
inherited from Kirby\Form\Field\ValueField