impaktapps-ui-builder 0.0.409-m → 0.0.409-n
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/package.json
CHANGED
|
@@ -6,6 +6,7 @@ import { APISection } from "../build/uischema/apiSection";
|
|
|
6
6
|
import { getRadioInputField, getSelectField, getTextArea } from "../build/uischema/buildPropertiesSection";
|
|
7
7
|
import { refreshSectionUiSchema } from "../build/uischema/refresh";
|
|
8
8
|
import _ from "lodash";
|
|
9
|
+
import emptyBox from "../build/uischema/emptyBox";
|
|
9
10
|
|
|
10
11
|
export default (
|
|
11
12
|
store: any,
|
|
@@ -28,7 +29,8 @@ export default (
|
|
|
28
29
|
if (handlerType) {
|
|
29
30
|
if (handlerType === "custom") {
|
|
30
31
|
uiSchema.elements[1].elements[0].elements[2] = getRadioInputField("isSync","Run in Sync",["Yes","No"])
|
|
31
|
-
uiSchema.elements[1].elements[0].elements[3] =
|
|
32
|
+
uiSchema.elements[1].elements[0].elements[3] = emptyBox;
|
|
33
|
+
uiSchema.elements[1].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false)
|
|
32
34
|
schema.required = ["eventType", "Handler", "eventCode"]
|
|
33
35
|
|
|
34
36
|
} else if (handlerType === "api") {
|