input field에 자꾸 자동완성 창이 생기고 아무리 시크릿창으로 띄워도 없어지지 않았다.
사실 난 그냥 음~ 하고 넘어갔는데, 팀원 분이 없애달라고.. 하셔서... 찾아보았다.
생각보다 방법은 간단하다.
그냥 input 태그 안에 autocomplete을 off로 꺼주면 된다. 쏘 씸플.
HTML attribute: autocomplete - HTML: HyperText Markup Language | MDN
The HTML autocomplete attribute lets web developers specify what if any permission the user agent has to provide automated assistance in filling out form field values, as well as guidance to the browser as to the type of information expected in the field.
developer.mozilla.org
'Dev > Style' 카테고리의 다른 글
CSS는 왜 이름이 CSS일까? (0) | 2024.01.02 |
---|---|
styled-components와 emotion에 대한 고찰 (0) | 2023.08.13 |
[CSS] 페이지 오른쪽 여백 없애기 (0) | 2022.10.24 |
[CSS] 리액트 link 밑줄 없애기 (0) | 2022.10.24 |
[CSS] div 내에서 스크롤하기 (0) | 2022.10.24 |