Skip to content

Commit 6a49946

Browse files
authored
Merge pull request #10033 from IgniteUI/SIvanova/fix-9979
fix(radio-group): modify selection logic
2 parents 5344c3c + 1c6d10a commit 6a49946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/directives/radio/radio-group.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ export class IgxRadioGroupDirective implements AfterContentInit, ControlValueAcc
435435
private _selectRadioButton() {
436436
if (this.radioButtons) {
437437
this.radioButtons.forEach((button) => {
438-
if (!this._value) {
438+
if (this._value === null) {
439439
// no value - uncheck all radio buttons
440440
if (button.checked) {
441441
button.checked = false;

0 commit comments

Comments
 (0)