Skip to content

Commit

Permalink
React: fix choose button is not clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
dk981234 committed Oct 31, 2023
1 parent 2632941 commit 2dcc5b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react/components/file/file-choose-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class SurveyFileChooseButton extends ReactSurveyElement {
<label
tabIndex={0}
className={this.question.getChooseFileCss()}
// htmlFor={this.question.inputId}
htmlFor={this.question.inputId}
aria-label={this.question.chooseButtonText}
>
{(!!this.question.cssClasses.chooseFileIconId) ? <SvgIcon title={this.question.chooseButtonText} iconName={this.question.cssClasses.chooseFileIconId} size={"auto"}></SvgIcon>: null }
Expand Down

0 comments on commit 2dcc5b0

Please sign in to comment.