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

SonataAdminBundle - FormMapper #51

Open
kminhtri opened this issue Sep 27, 2013 · 4 comments
Open

SonataAdminBundle - FormMapper #51

kminhtri opened this issue Sep 27, 2013 · 4 comments

Comments

@kminhtri
Copy link

Hello,

It's possible to set an ajax autocomplete on formmaper in Admin Class?
Thank you :)

@shtumi
Copy link
Owner

shtumi commented Sep 30, 2013

Hello.

What do you mean by Admin Class? SonataAdminBundle Admin Class?

@kminhtri
Copy link
Author

Yes in fact in the "configureFormFields" method of SonataAdminBundle Admin Class (in your example you use just for the filters "configureDatagridFilters")

@shtumi
Copy link
Owner

shtumi commented Sep 30, 2013

so sure you can use it in configureFormFields as you can use there any other symfony form element.

@kminhtri
Copy link
Author

Yes i saw that i'm a dummy ^^ :p Thank you
But did you have an idea to set mutiple choice for the autocomplete ajax input?
(I'm trying to overwrite your fields.html.twig to set the autocomplete jquery ui options, but I'm so low :p)

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

2 participants