Typeahead component issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello,
I am configuring a typeahead component in UI builder.
I have issues with mapping the Item selected event to a client script function. After I select an item - nothing changes.
Please check my config..may be I am missing something.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Your event handler is just a console.log(). Or do you mean that the logging is not happening? What are you trying to do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I'm using console.log just to validate that the trigger fires. The logging isn't happening right now, which means the trigger isn't working. I'll add the real functionality once this is confirmed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
The items prop is empty in your screenshot. Is the component working and showing a dropdown dialog where you can select an item? After clicking on an item there is no log?
If you can, revert back to a version that works as expected and try again. Maybe something in the composition on the macroponent is off and not working correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Items are loaded on page load, thats why its empty in UI builder. Items are loaded correctly and they are selectable, only issue it that event "Item selected" is not working
