I have a lightning-input with type="search". I am having trouble to set autocomplete="off" to be able to disable autocomplete functionality of modern browsers like Chrome.
Any help on this is appreciated!
To switch off browser autofill, try
autocomplete="off" but assigning a random string like
nope works sometimes.