impaktapps-ui-builder 0.0.102 → 0.0.103
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 +4 -1
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildText.ts +21 -18
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +1 -1
|
@@ -7799,7 +7799,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7799
7799
|
case "Text":
|
|
7800
7800
|
uiSchema.elements = [
|
|
7801
7801
|
getInputField("placeholder", "Placeholder"),
|
|
7802
|
-
|
|
7802
|
+
getRadioInputField("multiline", "Multiline", ["YES", "NO"]),
|
|
7803
7803
|
emptyBox$1("TextEmpty1", { xs: 0, sm: 0, md: 4, lg: 4 }),
|
|
7804
7804
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
|
|
7805
7805
|
];
|
|
@@ -10879,6 +10879,9 @@ const buildTextField = (config2, componentScope2) => {
|
|
|
10879
10879
|
if (config2.style) {
|
|
10880
10880
|
inputField.config.style = JSON.parse(config2.style);
|
|
10881
10881
|
}
|
|
10882
|
+
if (config2.multiline) {
|
|
10883
|
+
inputField.config.main.multiline = config2.multiline === "YES" ? true : false;
|
|
10884
|
+
}
|
|
10882
10885
|
if (config2.InputFormatingAndMasking) {
|
|
10883
10886
|
inputField.config.main.formatStrArray = config2.InputFormatingAndMasking.map((e) => e.formatElement);
|
|
10884
10887
|
}
|