Hi,
i want to render form field with custom template like its described in documentation, but it doesent work.
This is my field:
$field = OptionsetField::create('filter_type', 'filter_type', array("" => "Prodej", "rent" => "Pronájem"));
$field->setTemplate('PropertyOptionsetField');
$field->setFieldHolderTemplate('PropertyOptionsetField');
$fields->add($field);
And templates are in this paths :
\themes\simple\templates\Includes\filter\fields
\mysite\templates\fields
Any suggestions ? Thanks.