Skip to content

Commit

Permalink
work for #7252
Browse files Browse the repository at this point in the history
  • Loading branch information
OlgaLarina committed Nov 14, 2023
1 parent 11b6a98 commit f9cbfaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/react/reactquestion_comment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export class SurveyQuestionCommentItem extends ReactSurveyElement {
let className = this.props.otherCss || this.cssClasses.comment;
let handleOnChange = (event: any) => {
this.setState({ comment: event.target.value });
// https://github.com/surveyjs/survey-library/issues/7252
if (!Helpers.isTwoValueEquals(this.getComment(), event.target.value, false, true, false)) {
this.setComment(event.target.value);
}
Expand Down

0 comments on commit f9cbfaf

Please sign in to comment.