# Chipotle에게 50억 가치가 될 HTML 속성 하나

> Clean Markdown view of GeekNews topic #658. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=658](https://news.hada.io/topic?id=658)
- GeekNews Markdown: [https://news.hada.io/topic/658.md](https://news.hada.io/topic/658.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2019-10-03T15:59:56+09:00
- Updated: 2019-10-03T15:59:56+09:00
- Original source: [cloudfour.com](https://cloudfour.com/thinks/an-html-attribute-potentially-worth-4-4m-to-chipotle/)
- Points: 4
- Comments: 0

## Topic Body

주문결제 페이지에 자동완성 오류로 에러가 나는걸 수정해야 한다는 제보.

년도를 Angular의 ui-mask=‘99’ 로 하면 2023 과 같이 연도가 입력될 때 앞의 20만 넘어가므로, HTML5의 pattern 과 maxlength 속성으로 바꾸면 에러가 나지 않을거라는 이야기

댓글에 보면 ng-maxlength , ng-pattern 을 활용한 방식으로 처리하라는 얘기도 있음.

자동완성의 경우 브라우저에 입력된 정보들(아마도 타 사이트에서 이용되거나 저장되어 버린)을 가져와서 사용하게 되므로, 적절하게 가져오도록 신경써야 한다는 점을 기억하면 좋을듯

## Comments



_No public comments on this page._
