Skip to content

[♻️ Refactor] Input/TextArea 공통 폼 컴포넌트 코드 정리 #45

Description

@Lseojeong

📌 설명

리팩토링할 부분과 목적을 작성해주세요.

Input, TextArea, FormControl 관련 코드에서 불필요하거나 현재 구현과 맞지 않는 부분을 정리합니다.

ARIA 연결 방식과 타입 정의를 실제 동작에 맞게 맞추고, 중복 속성 및 불필요한 중간 변수를 제거해 공통 폼 컴포넌트의 유지보수성을 개선합니다.

🛠️ 구현 목록

✅ 구체적으로 작성하기

  • Input.ErrorMessage TSDoc에서 현재 구현과 맞지 않는 aria-describedby 설명 제거
  • TextArea.Field의 불필요한 describedBy 중간 변수 제거
  • Input.Field에서 readOnly prop을 사용할 수 있도록 타입 제한 정리
  • Input.Field, TextArea.Field의 중복 aria-required 제거
  • FormControlLabel, InputLabel TSDoc에서 aria-required 관련 설명 제거
  • TextArea.Label, TextArea.ErrorMessage props 타입을 프로젝트 컨벤션에 맞게 interface로 변경

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions