I get some very strange behaviour using a typeahead field with a valuelist by global method in webclient (5.2.16).
There is an onDataChangeEvent attached to this field. Running webclient from developer the onDataChange is fired twice in the following case: some letters were typed to filter the valuelist and a valuelistitem was chosen using a mouseclick. The first onDataChange has oldValue the correct old value and newValue null, the second onDataChange has oldValue null and newValue the correct chosen value. This is not the finest way to change a value, but it works. But when I deploy this solution to an application server and I run the webclient, I don’t receive the second onDataChange anymore, so my value is changed to null…
All works well (only one correct onDataChange) when:
- the valuelist is not filtered and an item is chosen using a mouseclick
- the value is selected using arrows up and down an chosen using enter
- running in smart-client on both developer and application server
Kind Regards,