Typeahead fields don't work for the second word in search

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Typeahead fields don't work for the second word in search

Postby aurobindo.parida » Tue Apr 25, 2017 2:49 pm

I am using servoy version 7.4.3 (Not sure if this is the case with other versions)
The typeahead fields in servoy don't really take into account the second word in search string.

For example if I am searching "Australian Post", The list shows all the values having "Australia" as their first word.
But as I continue to type it does not work. When I type the second word that is "Post", It just sticks there not further filtering.

All of this is related to web clients.

Are there any solutions to this ?
Thanks in advance.
aurobindo.parida
 
Posts: 15
Joined: Tue Apr 25, 2017 2:42 pm

Re: Typeahead fields don't work for the second word in searc

Postby sean » Tue Apr 25, 2017 5:24 pm

Hi

I can confirm that this is working fine for all client types.
(at least in 8.1.2 - I didn't try your version)

Can you share the valuelist definition? Is it a regular table-based valuelist?

Is "Australian Post" coming from the same columns ? i.e. you are not using a second display column in the type-ahead definition.

Do you have a screenshot of the problem ?
Software Engineer
Servoy USA
sean
 
Posts: 370
Joined: Mon May 21, 2007 6:26 pm
Location: USA

Re: Typeahead fields don't work for the second word in searc

Postby aurobindo.parida » Tue Apr 25, 2017 9:10 pm

Thank you Sean,

I am attaching the screengrab of the typeahead field (on web client) as well as the value list.
Please have a look.

Thanks
Attachments
Screen Shot 2017-04-26 at 12.30.01 AM.png
Screen Shot 2017-04-26 at 12.30.01 AM.png (398.07 KiB) Viewed 2994 times
aurobindo.parida
 
Posts: 15
Joined: Tue Apr 25, 2017 2:42 pm

Re: Typeahead fields don't work for the second word in searc

Postby sean » Wed Apr 26, 2017 4:08 pm

Yes, that certainly looks unusual. As I said, I have not tested it w/ 7.x
So I recommend that you file a case at https://support.servoy.com, including a reproducible example solution.
Please share your case-id in this ticket, so others who are interested can follow.
Thanks!
Software Engineer
Servoy USA
sean
 
Posts: 370
Joined: Mon May 21, 2007 6:26 pm
Location: USA

Re: Typeahead fields don't work for the second word in searc

Postby aurobindo.parida » Thu Apr 27, 2017 10:47 am

Thanks,

Further testing it I found it happening when the data provider is an integer.
And it is happening only on 7.4.3 version.
I think this has already been fixed on 7.4.9 as it was not reproducible there.

However I have filed a case on this - https://support.servoy.com/browse/SVY-11087
aurobindo.parida
 
Posts: 15
Joined: Tue Apr 25, 2017 2:42 pm


Return to Programming with Servoy

Who is online

Users browsing this forum: alasdairs and 7 guests