Skip to content

Commit c2d9d29

Browse files
authored
Merge pull request #10045 from IgniteUI/simeonoff/fix-9997-12.1.x
fix(radio-group): modify selection logic
2 parents 2e08303 + 9921322 commit c2d9d29

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
@@ -428,7 +428,7 @@ export class IgxRadioGroupDirective implements AfterContentInit, ControlValueAcc
428428
private _selectRadioButton() {
429429
if (this.radioButtons) {
430430
this.radioButtons.forEach((button) => {
431-
if (!this._value) {
431+
if (this._value === null) {
432432
// no value - uncheck all radio buttons
433433
if (button.checked) {
434434
button.checked = false;

0 commit comments

Comments
 (0)