Hmm, I can't see a mistake here.  Investigating...

On 5 May 2016 at 03:41, Stephen Cameron <[email protected]> wrote:

> Hi,
>
> I am trying to use autoCompleteNXxxx() for the first time and not having
> any success with 1.12.1, it just doesn't seem to fire my routine at all. I
> have the following two methods an autoComplete and a validate, the first
> doesn't get used but the second does.
>
>     public List<String> autoComplete2UpdateStreetAddress(@MinLength(3)
> String search) {
>         return suburbs.listSuburbNamesLike(search);
>     }
>
>     public String validate2UpdateStreetAddress(String name) {
>         Suburb s = suburbs.suburbForName(name);
>         if (s != null) {
>             return null;
>         } else
>             return "Unknown suburb, please check spelling and use proper
> case";
>     }
>
> If someone can confirm its working for them in 1.12.1 or else tell me I
> have made a mistake.
>
> Steve Cameron
>

Reply via email to