Fix bug when autocomplete loads on null FK, ann autocomplete = off to autocomplete textinput

Signed-off-by: Kevin Nguyen <k.nguyen@thecodingmachine.com>