Open annashamray opened 2 years ago
Hello @annashamray,
You can add the below line inside the data.src
function.
// Prefill input field with the string "Pizza"
document.getElementById("autoComplete").value = "Pizza";
Please try and let me know how it goes.
Cheers! :)
I'd like to create an autocomplete with prefilled initial value, but I can't find which configuration parameter can help me. Could you please provide an example how to do it, please?