질문&답변
현 상태에서는 소문자로만 검색이 되는데..
data = data.filter( (contact) => { return contact.name.toLowerCase().indexOf(this.state.keyword.toLowerCase()) > -1; } );
- 좋아요수
- 0
- 댓글수
- 1
- 조회수
- 499
질문&답변
data = data.filter( (contact) => { return contact.name.toLowerCase().indexOf(this.state.keyword.toLowerCase()) > -1; } );