Skip to content

Commit

Permalink
Fixed #7940 - ExpressionChangedAfterItHasBeenCheckedError when presel…
Browse files Browse the repository at this point in the history
…ect a p-radioButton
  • Loading branch information
cagataycivici committed Jul 24, 2019
1 parent 86ac75b commit 5908bb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/radiobutton/radiobutton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class RadioButton implements ControlValueAccessor {

@Output() onBlur: EventEmitter<any> = new EventEmitter();

@ViewChild('rb', { static: false }) inputViewChild: ElementRef;
@ViewChild('rb', { static: true }) inputViewChild: ElementRef;

public onModelChange: Function = () => {};

Expand Down

0 comments on commit 5908bb6

Please sign in to comment.