---
title: "Feature: Packages add fields to a command's form"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1791533289@main"
source: "Changelog/1.0.0/Feature-1791533289-PackagesAddFieldsToACommandsForm.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Packages add fields to a command's form {#feature-1791533289}

## Description {#description}

A package adds its own fields to the form of a command of another package's screen with `extendCommand()`,
such as the leave deduction in the core's penalty dialog. A field with `onlyWith` is sent only while the named
field has a value, so an optional object such as the leave deduction is left out until it is filled.

## Impact {#impact}

None for existing screens.
