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

Ajax autocomplete invalid type name #31

Open
dnna opened this issue Dec 18, 2012 · 0 comments
Open

Ajax autocomplete invalid type name #31

dnna opened this issue Dec 18, 2012 · 0 comments

Comments

@dnna
Copy link

dnna commented Dec 18, 2012

When trying to add shtumi_ajax_autocomplete the following exception appears:

The type name specified for the service "shtumi.useful.type.ajax_autocomplete" does not match the actual name. Expected "shtumi_ajax_autocomplete", given "shtumi_type_ajax_autocomplete"

My code is the following as derived from the readme:

    protected function configureDatagridFilters(DatagridMapper $datagridMapper)
    {
        $datagridMapper
            ->add('id')
            ->add('sender', 'shtumi_ajax_autocomplete', array('label' => 'Sender', 'entity_alias'=>'users'))
        ;
    }

From what I have seen a simple rename in AjaxAutocompleteType and the relevant twig will fix this.

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