Help with hiding repeater

Any help on this would be appreciated.

I have a repeater set up with predictive typing that’s working exactly as I need…but…

If the user is typing in the field and no known items are displayed, I want the repeater hidden and another “create new item” to take its place.

What’s the best way to handle that?

You could put the repeater and the “create new item” prompt in a dynamic panel to ensure only one or the other is shown. If no known items, set dp to “create new” state. Not sure how your repeater is set up, but when it is triggered to show an item it could also set the dp to “known items” state. and when it shows no items then change the state to “create new item”. You could tie this to the OnTextChange event of your input field.