I have a conundrum accessing the text that is input into an autocomplete field where the value field is set to an id from a database lookup.
What I want to be able to do -
User enters text into the autocomplete - if a record matches they click on it and it loads the appropriate database id into the value (this works as expected).
If there is no match the user clicks the no results click and i want to grab the text they have entered to use elsewhere.
There's a No Result Click dynamic event available for Auto Complete:
In this event you can then call some action, for example - call an insert record, set a value etc. and there you can find the entered value under the Event in the data picker:
Nothing seems to happen when I use that data binding?
I've tried on my current input box and made a new one to test (using 2 different datasources ) but the $event.value binding doesn't seem to return any value?
I checked the component and it does seem that the event indeed doesn't have any value set. The event seems to trigger correctly. Will post an update here with the fix.