[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)
PR Type
What kind of change does this PR introduce?
[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:
Which package are you modifying?
[ ] accordion
[ ] alert
[ ] alert-dialog
[ ] aspect-ratio
[ ] avatar
[ ] badge
[ ] button
[ ] calendar
[ ] card
[x] checkbox
[ ] collapsible
[ ] combobox
[ ] command
[ ] context-menu
[ ] data-table
[ ] date-picker
[ ] dialog
[ ] dropdown-menu
[ ] hover-card
[ ] icon
[ ] input
[ ] label
[ ] menubar
[ ] navigation-menu
[ ] pagination
[ ] popover
[ ] progress
[ ] radio-group
[ ] scroll-area
[ ] select
[ ] separator
[ ] sheet
[ ] skeleton
[ ] slider
[ ] sonner
[ ] spinner
[ ] switch
[ ] table
[ ] tabs
[ ] textarea
[ ] toast
[ ] toggle
[ ] tooltip
[ ] typography
What is the current behavior?
Currently, when using Reactive Forms, disabling the form doesn't disable the underlying checkbox (or checkboxes if there are plenty of them).
Closes #
What is the new behavior?
When disabling a parent form by using form.disable(), the hlm-checkbox component is now disabled.
The checkbox will be enabled if the form becomes enabled again.
Does this PR introduce a breaking change?
[ ] Yes
[x] No
Other information
Acutally, I saw that this behavior was ok with the brn-checkbox.component.ts but it was not replicated at the hlm level.
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Which package are you modifying?
What is the current behavior?
Currently, when using Reactive Forms, disabling the form doesn't disable the underlying checkbox (or checkboxes if there are plenty of them).
Closes #
What is the new behavior?
When disabling a parent form by using
form.disable()
, thehlm-checkbox
component is now disabled. The checkbox will be enabled if the form becomes enabled again.Does this PR introduce a breaking change?
Other information
Acutally, I saw that this behavior was ok with the
brn-checkbox.component.ts
but it was not replicated at the hlm level.