Skip to content

Commit

Permalink
#5801 fixed image adorner
Browse files Browse the repository at this point in the history
Fixes #5801
  • Loading branch information
novikov82 committed Aug 20, 2024
1 parent 0c5ca5f commit 95b6edf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/survey-creator-react/src/adorners/QuestionImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,14 @@ export class QuestionImageAdornerComponent extends QuestionAdornerComponent {
isDisplayMode: false,
question: this.imageModel.filePresentationModel
});
return fileQuestion;
return (<>
{this.renderQuestionTitle()}
{fileQuestion}
</>);
} else {
return (
<>
{this.renderQuestionTitle()}
{this.props.element}
{this.renderElementPlaceholder()}
</>
Expand Down

0 comments on commit 95b6edf

Please sign in to comment.