diff --git a/app/client/src/widgets/ButtonWidget.tsx b/app/client/src/widgets/ButtonWidget.tsx index a8446ce7ae..61ff2e84eb 100644 --- a/app/client/src/widgets/ButtonWidget.tsx +++ b/app/client/src/widgets/ButtonWidget.tsx @@ -55,8 +55,10 @@ class ButtonWidget extends BaseWidget { value: "DANGER_BUTTON", }, ], + isJSConvertible: true, isBindProperty: false, isTriggerProperty: false, + validation: VALIDATION_TYPES.OPTIONS_DATA, }, { propertyName: "isVisible", diff --git a/app/client/src/widgets/ContainerWidget.tsx b/app/client/src/widgets/ContainerWidget.tsx index 39cde40c01..c544f313b4 100644 --- a/app/client/src/widgets/ContainerWidget.tsx +++ b/app/client/src/widgets/ContainerWidget.tsx @@ -37,6 +37,7 @@ class ContainerWidget extends BaseWidget< propertyName: "backgroundColor", label: "Background Color", controlType: "COLOR_PICKER", + isJSConvertible: true, isBindProperty: true, isTriggerProperty: false, validation: VALIDATION_TYPES.TEXT, diff --git a/app/client/src/widgets/FormWidget.tsx b/app/client/src/widgets/FormWidget.tsx index 585320c45f..f50d222f79 100644 --- a/app/client/src/widgets/FormWidget.tsx +++ b/app/client/src/widgets/FormWidget.tsx @@ -21,6 +21,7 @@ class FormWidget extends ContainerWidget { placeholderText: "#FFFFFF / Gray / rgb(255, 99, 71)", controlType: "COLOR_PICKER", isBindProperty: true, + isJSConvertible: true, isTriggerProperty: false, validation: VALIDATION_TYPES.TEXT, }, diff --git a/app/client/src/widgets/TextWidget.tsx b/app/client/src/widgets/TextWidget.tsx index 745cdd76c4..1834aa06ef 100644 --- a/app/client/src/widgets/TextWidget.tsx +++ b/app/client/src/widgets/TextWidget.tsx @@ -114,8 +114,10 @@ class TextWidget extends BaseWidget { value: "ITALIC", }, ], - isBindProperty: false, + isJSConvertible: true, + isBindProperty: true, isTriggerProperty: false, + validation: VALIDATION_TYPES.TEXT, }, { propertyName: "textAlign", @@ -136,8 +138,10 @@ class TextWidget extends BaseWidget { }, ], defaultValue: "LEFT", - isBindProperty: false, + isJSConvertible: true, + isBindProperty: true, isTriggerProperty: false, + validation: VALIDATION_TYPES.TEXT, }, ], },