Help with autocomplete component content

I have a page containing an autocomplete component, in this case a list of post codes.
The input is: form_details.in_postcode

i know i can get the selected value from the list with "form_details.in_postcode.value" but how can i get the actual text being typed as i need it for processing?

Do you want to get the text while the user is typing and the autocomplete dropdown is still open, or do you want to get the value when they select a value in the dropdown? Or maybe if they don't select anything and click outside?

While the user is typing. I want to bind the typed text to an api action as a parameter as a record filter (as table has 3.6 million records)

Looking at dmx.app..data.content.form_details.in_postcode
I dont see the text exposed. Maybe i need to do something via the set value dynamic event which is available and an intermediate variable.?

I am afraid you can’t access the value while typing.

Ok, will look for Plan B

1 Like