0
votes

I would like to have a node reference field as a text field with NO autocomplete. How can I get it?

Thanks

1

1 Answers

1
votes

You can use hook_form_alter() to alter this form, and then unset the #autocomplete_path property from your text field.

Example:

unset($form['myfield']['#autocomplete_path']);