impaktapps-ui-builder 1.0.145 → 1.0.146
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 +5 -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/buildFileInput.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +2 -1
|
@@ -8114,8 +8114,9 @@ const buildPropertiesSection = function(type) {
|
|
|
8114
8114
|
getRadioInputField("disableUpload", "Disable Upload", ["YES", "NO"]),
|
|
8115
8115
|
getRadioInputField("disableDelete", "Disable Delete", ["YES", "NO"]),
|
|
8116
8116
|
getRadioInputField("disableDownload", "Disable Download", ["YES", "NO"]),
|
|
8117
|
+
getInputField("description", "Enter description"),
|
|
8117
8118
|
getInputField("errorMessage", "Error Message"),
|
|
8118
|
-
emptyBox$1("FileInputEmpty", { xs:
|
|
8119
|
+
emptyBox$1("FileInputEmpty", { xs: 0, sm: 0, md: 4, lg: 6 })
|
|
8119
8120
|
];
|
|
8120
8121
|
break;
|
|
8121
8122
|
}
|
|
@@ -12283,6 +12284,9 @@ const buildFileInput = (config2, componentScope2) => {
|
|
|
12283
12284
|
if (config2.disableDelete) {
|
|
12284
12285
|
box.config.main.disableDelete = config2.disableDelete === "YES" ? true : false;
|
|
12285
12286
|
}
|
|
12287
|
+
if (config2.description) {
|
|
12288
|
+
box.config.main.description = config2.description;
|
|
12289
|
+
}
|
|
12286
12290
|
if (config2.errorMessage) {
|
|
12287
12291
|
box.config.main.errorMessage = config2.errorMessage;
|
|
12288
12292
|
}
|