Input box with autocomplete or suggestion

Hi, I want to create an input box, when user start input a word, it will show some suggestion text from the list (something like google search).
I still don’t know how to do that, can someone help me.
https://playground.babylonjs.com/#S9Q4ZR#1

You can use onTextChangedObservable to filter your list.
pg: https://playground.babylonjs.com/#S9Q4ZR#3

2 Likes

Thanks for the reply, but what I want is something like this

When I enter a keyword this will show suggestion like image above, do I need to create new list of button in onTextChangedObservable or something?

You could use a StackPanel with TextBlock children to make this list :slight_smile: