Skip to content

Kirby 6.0.0

$usernameField->fill()

$usernameField->fill(mixed $value): UsernameField

Parameters

Name Type Default
$valuerequired mixed no default value

Return type

Kirby\Panel\Form\Field\UsernameField

This method does not modify the existing $usernamefield object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Panel\Form\Field\UsernameField inherited from Kirby\Form\Field\TextField