Typeahead component issue

pbodlev
Tera Contributor

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.

 

9 REPLIES 9

lauri457
Tera Sage

Your event handler is just a console.log(). Or do you mean that the logging is not happening? What are you trying to do?

pbodlev
Tera Contributor

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.

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. 

 

 

pbodlev
Tera Contributor

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