8
votes

I have a problem validating my code.

input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input'
w3c validator says the message: "Attribute autocorrect not allowed on element input at this point." I disabled the attribute autocapitalize but it doesn't work.

1

1 Answers

-4
votes

if you want to win with w3c validator, remove attributes that are not allowed on element and add them by javascript