OnTextChange using Text on Widget - not working on mobile?


#1

I’ve tried this fairly simple prototype on two iPhones (Safari and Chrome) and Android, and I can’t get the search suggestions to show using the trigger of OnTextChange and if ‘Text on widget’ equals/contains a certain value.

In this example, if the string ‘test’ is detected in the search box, the search suggestion shape should appear. Works fine on desktop, not at all on mobile.

This seems like quite a simple of common bit of prototyping so I’m surprised to not find it mentioned anywhere

https://barez2.axshare.com/

Text on Widget mobile test.rp (45.9 KB)


#2

It works fine. Don’t forget that most mobile keyboards automatically capitalise the first letter and your prototype is looking specifically for a lowercase ‘t’.

When comparing the field input you can use the .toLowerCase() method on it to force it to lowercase and compare that. That way if users type in any case it will work.


#3

Ah, thank you! I thought I must be missing something obvious.


unlisted #4