Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H::F::M::Cookbook mentions widget_name_space should be field_name_space #157

Open
micronet24 opened this issue Oct 16, 2021 · 0 comments
Open

Comments

@micronet24
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant