[FE] fix: textarea의 입력이 1000자를 초과했을 때 실시간으로 에러 메세지를 띄우도록 수정 #536
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🚀 어떤 기능을 구현했나요 ?
textarea
의 입력이 1000을 초과하면 실시간으로 에러 메세지를 띄워서 사용성을 강화했습니다.🔥 어떻게 해결했나요 ?
useLongReviewItem
훅에 있는onChange
이벤트 핸들러에maxLength
를 넘는 경우 에러 메세지를 띄워주는 코드를 추가했습니다.📝 어떤 부분에 집중해서 리뷰해야 할까요?
📚 참고 자료, 할 말