I'm creating my custom model form on a backend module. I need to allow the admins to select one category for my model, so I wanted to use the Magento standard category selector, like this example :
How can I do ?
FYI, I'm using form fieldset to add fields, like this example:
$fieldset->addField(
'field_name',
'text',
[
'name' => 'field_name',
'label' => __('Field Label'),
'title' => __('Field Title'),
'required' => false
]
);
There are similar questions, but none of them has a valid answer for the moment.