Skip to content

Commit

Permalink
survey.onAfterRenderQuestionInput is not fired in React (#9288)
Browse files Browse the repository at this point in the history
Fixes #9262

Co-authored-by: tsv2013 <[email protected]>
  • Loading branch information
tsv2013 and tsv2013 authored Jan 10, 2025
1 parent a1325a2 commit e5716f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/survey-react-ui/src/dropdown-base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ export class SurveyQuestionDropdownBase<T extends Question> extends SurveyQuesti
aria-labelledby={this.question.a11y_input_ariaLabelledBy}
aria-describedby={this.question.a11y_input_ariaDescribedBy}
tabIndex={this.question.isDisabledAttr ? undefined : 0}
className={this.question.getControlClass()}>
className={this.question.getControlClass()}
ref={(div) => (this.setControl(div))}>
{text}
{this.renderReadOnlyElement()}
</div>;
Expand Down Expand Up @@ -107,6 +108,7 @@ export class SurveyQuestionDropdownBase<T extends Question> extends SurveyQuesti
aria-expanded={this.question.ariaExpanded}
aria-controls={dropdownListModel.listElementId}
aria-activedescendant={dropdownListModel.ariaActivedescendant}
ref={(div) => (this.setControl(div))}
>
{dropdownListModel.showHintPrefix ?
(<div className={this.question.cssClasses.hintPrefix}>
Expand Down
1 change: 1 addition & 0 deletions packages/survey-react-ui/src/reactquestion_tagbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export class SurveyQuestionTagbox extends SurveyQuestionDropdownBase<QuestionTag
aria-expanded={this.question.ariaExpanded}
aria-controls={dropdownListModel.listElementId}
aria-activedescendant={dropdownListModel.ariaActivedescendant}
ref={(div) => (this.setControl(div))}
>
<div className={this.question.cssClasses.controlValue}>
{items}
Expand Down

0 comments on commit e5716f3

Please sign in to comment.