diff --git a/packages/survey-angular-ui/src/comment-other.component.html b/packages/survey-angular-ui/src/comment-other.component.html index d51b57c735..73485a78a1 100644 --- a/packages/survey-angular-ui/src/comment-other.component.html +++ b/packages/survey-angular-ui/src/comment-other.component.html @@ -4,6 +4,7 @@ [disabled]="question.isInputReadOnly" (change)="onOtherValueChange($event)" (input)="onOtherValueInput($event)" + (compositionupdate)="onCompositionUpdateOtherValue($event)" [class]="question.cssClasses.other">
{{ otherValue }}
diff --git a/packages/survey-angular-ui/src/comment-other.component.ts b/packages/survey-angular-ui/src/comment-other.component.ts index e5ae01c51b..75fa277396 100644 --- a/packages/survey-angular-ui/src/comment-other.component.ts +++ b/packages/survey-angular-ui/src/comment-other.component.ts @@ -19,6 +19,9 @@ export class SurveyCommentOtherComponent { public onOtherValueInput(event: any): void { (this.question).onOtherValueInput(event); } + public onCompositionUpdateOtherValue(event: any): void { + (this.question).onCompositionUpdateOtherValue(event); + } public get otherId(): string { return (this.question).otherId; } diff --git a/packages/survey-angular-ui/src/comment.component.html b/packages/survey-angular-ui/src/comment.component.html index c3f4422d52..35bfccaeb0 100644 --- a/packages/survey-angular-ui/src/comment.component.html +++ b/packages/survey-angular-ui/src/comment.component.html @@ -4,6 +4,7 @@ [disabled]="question.isInputReadOnly" (change)="question.onCommentChange($event)" (input)="question.onCommentInput($event)" + (compositionupdate)="question.onCompositionUpdateComment($event)" [class]="question.cssClasses.other">
{{ question.comment }}
diff --git a/packages/survey-vue3-ui/src/QuestionComment.vue b/packages/survey-vue3-ui/src/QuestionComment.vue index 927e204b12..1fe21061be 100644 --- a/packages/survey-vue3-ui/src/QuestionComment.vue +++ b/packages/survey-vue3-ui/src/QuestionComment.vue @@ -24,6 +24,7 @@ question.onCommentInput(e); } " + @composition-update="(e) => { question.onCompositionUpdateComment(e); }" /> diff --git a/packages/survey-vue3-ui/src/QuestionOther.vue b/packages/survey-vue3-ui/src/QuestionOther.vue index 833555256d..8980bb8e40 100644 --- a/packages/survey-vue3-ui/src/QuestionOther.vue +++ b/packages/survey-vue3-ui/src/QuestionOther.vue @@ -22,6 +22,7 @@ question.onOtherValueInput(e); } " + @composition-update="(e) => { question.onCompositionUpdateOtherValue(e); }" />
{{ question.otherValue }}
diff --git a/src/knockout/templates/comment.html b/src/knockout/templates/comment.html index c7a5a84aa0..d5adb25d91 100644 --- a/src/knockout/templates/comment.html +++ b/src/knockout/templates/comment.html @@ -1,7 +1,7 @@