-
Notifications
You must be signed in to change notification settings - Fork 23
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: implement ControlValueAccessor to trigger changes within Angular forms #3158
Checkbox: implement ControlValueAccessor to trigger changes within Angular forms #3158
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @AgreSanGit :D I have have some nitty gritty comments! :)
Co-authored-by: mark-drastrup <mark.drastrup@gmail.com>
Co-authored-by: mark-drastrup <mark.drastrup@gmail.com>
Co-authored-by: mark-drastrup <mark.drastrup@gmail.com>
Co-authored-by: mark-drastrup <mark.drastrup@gmail.com>
Co-authored-by: mark-drastrup <mark.drastrup@gmail.com>
…changes-within-reactive-forms
…changes-within-reactive-forms
…changes-within-reactive-forms
…changes-within-reactive-forms
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job on implementation and test!
Apart from a couple of minor suggestions, I think the only thing missing is a good example of this in a reactive form, like we have for radio-groups: https://cookbook.kirby.design/#/home/showcase/radio
I think we should label this as a feature instead of a fix. I know the original issue is a bug report, but we are adding a new feature cleanly here, not fixing existing functionality. |
…changes-within-reactive-forms
apps/cookbook/src/app/examples/checkbox-example/examples/reactive-forms.ts
Outdated
Show resolved
Hide resolved
…-reactive-forms' of https://github.com/kirbydesign/designsystem into bug/2804-kirby-checkbox-does-not-trigger-changes-within-reactive-forms
…ckbox-does-not-trigger-changes-within-reactive-forms
…changes-within-reactive-forms
…changes-within-reactive-forms
This is no longer needed and was removed in another PR but seems to have been accidentally added back
…changes-within-reactive-forms
Which issue does this PR close?
This PR closes #2804
What is the new behavior?
ControlValueAccessor implemented so kirby checkbox does now trigger changes within reactive forms
Does this PR introduce a breaking change?
Are there any additional context?
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Reminders
Review
When the pull request has been approved it will be merged to
develop
by Team Kirby.