I've changed a g:select field to a yui autocomplete (without using the yui plugin) and now I'm getting:
Failed to convert property value of type [java.lang.String] to required type...
println the params in the controller looks identical in both cases.
I can go ahead and use the String id in the params and get the required domain object but I'd like to use the binder.
I guess its the way the binder works but couldn't find the problem.
Is it possible to get it to bind the object using the ID as done when using g:select ?
Thanks, Guy