Skip to content

Commit

Permalink
fixed #6164
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-kurmanov committed May 10, 2023
1 parent f0cbe10 commit cd04917
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/question_rating.ts
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,8 @@ export class QuestionRatingModel extends Question {
}
public get ariaExpanded(): string {
const popupModel = this.dropdownListModel?.popupModel;
return !!popupModel && popupModel.isVisible ? "true" : "false";
if (!popupModel) return null;
return popupModel.isVisible ? "true" : "false";
}
private dropdownListModelValue: DropdownListModel;
public set dropdownListModel(val: DropdownListModel) {
Expand Down

0 comments on commit cd04917

Please sign in to comment.