-
Notifications
You must be signed in to change notification settings - Fork 46
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
Labels
feat:component
Issue or PR related to a new component
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
고민되는 점)
Checkbox가 secondary일 때 같은 컴포넌트가 nested된 형태가 될 수 있고, 이 때 부모와 자식컴포넌트의 checked상태가 유기적으로 연결되어야 한다. 구현 자체는 provider를 적절히 사용하면 가능할 것 같은데, 컴포넌트가 checked 속성으로 받는 값과 부모/자식 컴포넌트의 checked상태에 의해 결정되는 값이 다를 때 둘 중 어느 값으로 checked 상태를 결정해야 하는지 고민됨. secondary일 때는 uncontrolled로 사용하는 것을 강제해야할지, 강제한다면 어떤식으로 해야할지도 아직은 명확하지 않은 상태.
The text was updated successfully, but these errors were encountered: