Is it possible to modify state of KeyValue before filling?

I have the following Form element to handle some translations in a key-value component but I need to add some missing keys, e.g. title is array of ['en' => 'test'] but I would like user to be able to also input de language. How can I modify a state of the component so I would also include a missing de key with an empty value.

Forms\Components\KeyValue::make('title')
                        ->disableEditingKeys()
                        ->disableDeletingRows()
                        ->disableAddingRows()
                        ->keyLabel('Language')
                        ->valueLabel('Text')
                        ->required()
Was this page helpful?