impaktapps-ui-builder 0.0.81 → 0.0.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/impaktapps-ui-builder.es.js +8 -2
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +8 -8
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTextArea.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +3 -1
|
@@ -7457,8 +7457,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7457
7457
|
case "TextArea":
|
|
7458
7458
|
uiSchema.elements = [
|
|
7459
7459
|
getInputField("placeholder", "Placeholder"),
|
|
7460
|
-
|
|
7461
|
-
|
|
7460
|
+
getRadioInputField("enableCodeEditor", "Enable Code Editor", ["YES", "NO"]),
|
|
7461
|
+
getInputField("codeEditorLanguage", "Enter Code Language")
|
|
7462
7462
|
];
|
|
7463
7463
|
break;
|
|
7464
7464
|
case "SpeedoMeter":
|
|
@@ -11287,6 +11287,12 @@ const buildTextArea = (config, componentScope) => {
|
|
|
11287
11287
|
if (config.placeholder) {
|
|
11288
11288
|
textArea.config.main.placeholder = config.placeholder;
|
|
11289
11289
|
}
|
|
11290
|
+
if (config.enableCodeEditor) {
|
|
11291
|
+
textArea.config.main.enableCodeEditor = config.enableCodeEditor;
|
|
11292
|
+
}
|
|
11293
|
+
if (config.codeEditorLanguage) {
|
|
11294
|
+
textArea.config.main.codeEditorLanguage = config.codeEditorLanguage;
|
|
11295
|
+
}
|
|
11290
11296
|
textArea.scope = componentScope;
|
|
11291
11297
|
return textArea;
|
|
11292
11298
|
};
|