Autocomplete
Autocomplete

How do I set placeholder for the Autocomplete field type ? JQuery UI plugin is enabled.
This discussion has been closed.
How do I set placeholder for the Autocomplete field type ? JQuery UI plugin is enabled.
Replies
try attr like this. if that doesn't work you can try to add the placehoder to opts.
Unfortunately, neither option works. Everything works with other types of fields. Doesn't work only with autoComplete.
It might be worth trying Allan's suggestion at the of this thread, that might do the trick,
Colin
Thanks!!! It really works.
Great you got it working. My problem is that I keep forgetting what I implemented successfully before ...
https://editor.datatables.net/reference/api/field().input() is good for many things.
I used this previously many times when I needed to dynamically change the placeholder to be matching the respective field type. This code is inside an Editor event handler:
...and where to find it. And why it works. And...