Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CheckBox #2235

Open
Tracked by #2148
yangwooseong opened this issue May 22, 2024 · 1 comment
Open
Tracked by #2148

CheckBox #2235

yangwooseong opened this issue May 22, 2024 · 1 comment
Assignees
Labels
feat:component Issue or PR related to a new component

Comments

@yangwooseong
Copy link
Collaborator

yangwooseong commented May 22, 2024

고민되는 점)

Checkbox가 secondary일 때 같은 컴포넌트가 nested된 형태가 될 수 있고, 이 때 부모와 자식컴포넌트의 checked상태가 유기적으로 연결되어야 한다. 구현 자체는 provider를 적절히 사용하면 가능할 것 같은데, 컴포넌트가 checked 속성으로 받는 값과 부모/자식 컴포넌트의 checked상태에 의해 결정되는 값이 다를 때 둘 중 어느 값으로 checked 상태를 결정해야 하는지 고민됨. secondary일 때는 uncontrolled로 사용하는 것을 강제해야할지, 강제한다면 어떤식으로 해야할지도 아직은 명확하지 않은 상태.

Copy link

channeltalk bot commented May 22, 2024

@yangwooseong yangwooseong self-assigned this May 22, 2024
@yangwooseong yangwooseong added the feat:component Issue or PR related to a new component label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat:component Issue or PR related to a new component
Projects
Status: 📌 Backlog
Development

No branches or pull requests

1 participant