In the Cookbook's section Split up your forms into reusable pieces it is mentioned, that the namespace to the custom fields should be registered using
has '+widget_name_space' => ( default => sub {['Form::Field']} );
Unfortunately, this doesn't work. Looking into HTML::FormHandler::BuildFields the attribute field_name_space is used instead; widget_name_space is ignored completely.
So either the documentation is wrong, or BuildFields should take widget_name_space into account as well. Which one is to prefer?
In the Cookbook's section
Split up your forms into reusable piecesit is mentioned, that the namespace to the custom fields should be registered usingUnfortunately, this doesn't work. Looking into
HTML::FormHandler::BuildFieldsthe attributefield_name_spaceis used instead;widget_name_spaceis ignored completely.So either the documentation is wrong, or BuildFields should take
widget_name_spaceinto account as well. Which one is to prefer?