WebComboBox.Text returns JQuery when contents is?

You can normally place any text into a WebComboBox, but I placed ‘???’ into my WebComboBox (as my app needed something until I knew the correct value) and the resulting WebComboBox.Text was something like ‘JQuery99999999999999999’. It happens for ‘??’ too, but not ‘?’.

Does anyone know what is happening?

https://tracker.xojo.com/xojoinc/xojo/-/issues/78366

Fixed for next release!

Thanks for reporting this, David!

It looks like jQuery does some unexpected replacements when sending data over the wire.

The web framework normally encodes text strings from controls with Base64, to avoid issues, but WebComboBox wasn’t doing it. That’s what has been fixed, which targets this jQuery issue, but probably other bugs waiting to happen.

We are gradually removing our jQuery dependency. If you enable the experimental Session option “Send Events In Batches”, which doesn’t use jQuery for communicating with the backend, you won’t experience this issue.