귤죠아
Home
  • 분류 전체보기 (12)
    • 🎡 (2)
    • FrontEnd (5)
      • HTML_CSS (0)
      • JS (1)
      • React (3)
    • Error (5)
Home
  • 분류 전체보기 (12)
    • 🎡 (2)
    • FrontEnd (5)
      • HTML_CSS (0)
      • JS (1)
      • React (3)
    • Error (5)
블로그 내 검색
Github

귤죠아

귤을 좋아하는 프론트엔드 개발자

react warning (1)

  • Error

    [React] Warning: You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.

    에러 내용 더보기 Warning: You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`. 에러 이유 input의 'value'값이 유동적으로 변하는 경우 readOnly 속성을 추가해 주거나 value를 'defaultValue'로 바꾸어 사용해야 한다. 해결 value 속성을 defaultValue로 바꾸어 줌

    2022. 11. 8.

이전
1
다음
전체 글 보기
Tistory 로그인
Tistory 로그아웃
로그아웃 글쓰기 관리

Today

Total

Powered by ⓒ Kakao Corp.

Designed by Nana
블로그 이미지
귤죠아

티스토리툴바