added intelligent autofocus directive and global autocomplete disable