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

[Form] Handle autocomlete for setDefault method #821

Closed
Koc opened this issue Nov 16, 2016 · 3 comments
Closed

[Form] Handle autocomlete for setDefault method #821

Koc opened this issue Nov 16, 2016 · 3 comments
Labels

Comments

@Koc
Copy link
Contributor

Koc commented Nov 16, 2016

There is form type

    public function configureOptions(OptionsResolver $resolver)
    {
        $resolver->setDefaults(array('csrf_protection' => false)); // autocomplete works perfectly
        $resolver->setDefault(''); // no autocomplete here
    }
@Koc
Copy link
Contributor Author

Koc commented Dec 11, 2016

@Haehnchen thank you

@Haehnchen Haehnchen added fixed and removed todo labels Jan 10, 2017
@Haehnchen
Copy link
Owner

done to me

@Koc
Copy link
Contributor Author

Koc commented Jan 10, 2017

@Haehnchen yes, it works good. Thank you.

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

No branches or pull requests

2 participants