Próbowałem przekazać element do tablicy asocjacyjnej, takiej jak ta:
$new_input['name'] = array(
'type' => 'text',
'label' => 'First name',
'show' => true,
'required' => true
);
array_push($options['inputs'], $new_input);
Jednak zamiast „name” jako klucz dodaje numer. Czy jest inny sposób, aby to zrobić?