Type_ahead with value list - behaviour in web client

Questions and answers for designing and implementing forms in Servoy

Type_ahead with value list - behaviour in web client

Postby drookwood » Thu Mar 22, 2012 3:14 pm

I have a type ahead field with an attached custom value list. The value I want to enter is 'Block H'. There is already a 'Block H (main)' in the value list. When I enter 'Block H', the existing 'Block H (main)' value is selected in the value list as expected (but is not the value required). In smart client if I tab out of the field having entered just 'Block H' then 'Block H' is (correctly) left as the field value. In web client there seems to be no way to do this - every time I enter just 'Block H' I get 'Block H (main)' as the entered field value regardless of whether I use tab to exit the field, or simply click in the next field, or even use escape to hide the valuelist and then tab out of the field!

Is this difference in behaviour expected?
David Rookwood

SAN Developer
drookwood
 
Posts: 290
Joined: Tue Nov 11, 2003 7:08 pm
Location: Somerset, UK

Re: Type_ahead with value list - behaviour in web client

Postby jcompagner » Mon Mar 26, 2012 4:57 pm

so it is just a simple valuelist, with no id/real values
and in the webclient it always makes a selection to what you typed and in smart it doesn't do that?
Please create a case for this then with a small example
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Type_ahead with value list - behaviour in web client

Postby drookwood » Tue Mar 27, 2012 10:59 am

Yes, just a simple valuelist. In web client it won't let me type a value that is similar to but shorter than a value in the list.

Example:
I enter 'Book' in the field with the valuelist
'Book' is not in the valuelist, but 'Booking' is
In web client 'Booking' is entered as the value when I leave the field
In smart client 'Book' is entered as the value when I leave the field

I will create a case.
David Rookwood

SAN Developer
drookwood
 
Posts: 290
Joined: Tue Nov 11, 2003 7:08 pm
Location: Somerset, UK


Return to Forms

Who is online

Users browsing this forum: No registered users and 2 guests