Skip to content

Commit 3e0ad24

Browse files
OlgaLarinaOlgaLarina
and
OlgaLarina
authored
resolve #6734 Move a piece of code from the PropertyGridEditor.showModalPropertyEditor function (#6739)
Co-authored-by: OlgaLarina <olga.larina.dev@gmail.com>
1 parent 4bb47a6 commit 3e0ad24

File tree

1 file changed

+0
-4
lines changed
  • packages/survey-creator-core/src/property-grid

1 file changed

+0
-4
lines changed

packages/survey-creator-core/src/property-grid/index.ts

-4
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ import {
3636
settings as creatorSettings
3737
} from "../creator-settings";
3838
import { QuestionFactory } from "survey-core";
39-
import { defaultCss } from "survey-core";
4039
import { SurveyHelper } from "../survey-helper";
4140
import { ISurveyPropertyGridDefinition } from "../question-editor/definition";
4241
import { parsePropertyDescription } from "./description-parser";
@@ -1444,9 +1443,6 @@ export abstract class PropertyGridEditor implements IPropertyGridEditor {
14441443
options
14451444
);
14461445
if (!surveyPropertyEditor) return null;
1447-
if (property.type !== "condition") {
1448-
surveyPropertyEditor.editSurvey.css = defaultCss;
1449-
}
14501446
if (question.isReadOnly) {
14511447
surveyPropertyEditor.editSurvey.mode = "display";
14521448
}

0 commit comments

Comments
 (0)