-
I want to check if the input value is a postcode before autocomplete starts. |
Beta Was this translation helpful? Give feedback.
Answered by
folknor
Oct 20, 2021
Replies: 1 comment 1 reply
-
Yes, you can for example use https://tarekraafat.github.io/autoComplete.js/#/configuration?id=trigger-optional which accepts a function. Just return |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
alanski66
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, you can for example use https://tarekraafat.github.io/autoComplete.js/#/configuration?id=trigger-optional which accepts a function. Just return
true
if you want the autoComplete.js engine to proceed and any falsy value if not.