- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2023 03:48 AM
I have a simple setup for UI Builder page:
Typeahead Multi component with default settings.
Client state variable, let's call it "var".
A button with event "Update Client State Variable", "var=1".
Scenario:
Select "User1" or "User3" with typeahead multi.
Click the button, so, change the client state variable.
Result:
Typeahead multi is cleared.
SN Version: glide-tokyo-07-08-2022__patch1-09-01-2022.
This strange behavior makes Typeahead Multi component completely useless, unfortunately.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2023 05:06 AM
Hi @Sergey Sidorin,
In Typehead multi component, there is a configuration called 'Selected Items' it is under Lists.
Set that value to @state.var.
This will help you in keeping the value of multi selects as is.
Let me know if it helped.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2023 04:12 AM
Reproduced in glide-sandiego-12-22-2021__patch0-hotfix1-02-01-2022 also.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2023 05:06 AM
Hi @Sergey Sidorin,
In Typehead multi component, there is a configuration called 'Selected Items' it is under Lists.
Set that value to @state.var.
This will help you in keeping the value of multi selects as is.
Let me know if it helped.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2023 05:10 AM
Thank you, Nootan! It really helps. Actually, I have to bind "Selected items" to something else variable.