Skip to content

Kirby 6.0.0

new FormDrawer()

new FormDrawer() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

new FormDrawer(string|null $component = 'k-form-drawer', string|null $class = null, bool $disabled = false, string|null $empty = null, array $fields = [], string|null $icon = null, array|null $options = null, string|null $style = null, string|null $title = null, array $value = [], mixed ...$attrs)

Parameters

Name Type Default
$component stringornull 'k-form-drawer'
$class stringornull null
$disabled bool false
$empty stringornull null
$fields array []
$icon stringornull null
$options arrayornull null
$style stringornull null
$title stringornull null
$value array []
...$attrs mixed no default value

Parent class

Kirby\Panel\Ui\Drawer\FormDrawer