Is it possible to add custom values to single selection free text in shopware 5?

Is it possible to add custom values to single selection free text in Shopware 5?

for example, I want to create a single selection in the backend category edit page with values „default“ template and „custom“ template using free text fields. 

is it possible?

$attributeCrudService->update('s_categories_attributes', 'article_detail_template', 'single_selection', [
'displayInBackend' => true,

'label' => 'Article detail page template',

'values' => ['default', 'custom'],

]);

 

You can use combobox

For example

$this->crudService->update(
    's_articles_attributes',
    'nfx_do_default_delivery',
    'combobox',
    [
        'label' => 'Standardlieferart',
        'helpText' => 'Standardversandmethode für dieses Produkt.',
        'displayInBackend' => true,
        'position' => 2,
        'custom' => 1,
        'arrayStore' => [
            ['key' => 'pickup', 'value' => 'Click & Collect'],
            ['key' => 'delivery', 'value' => 'Lieferung'],
        ],
    ]
);