From 1e16edb367a0bbbfb54db681cb34283f01724e0a Mon Sep 17 00:00:00 2001 From: Pawan Kumar Date: Wed, 30 Oct 2024 13:31:45 +0530 Subject: [PATCH] fix prop name in options control --- app/client/src/components/propertyControls/OptionControl.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/src/components/propertyControls/OptionControl.tsx b/app/client/src/components/propertyControls/OptionControl.tsx index 8a9ceebdf137..c4ab3c911c5b 100644 --- a/app/client/src/components/propertyControls/OptionControl.tsx +++ b/app/client/src/components/propertyControls/OptionControl.tsx @@ -20,7 +20,7 @@ class OptionControl extends BaseControl { options: SegmentedControlOption[], isUpdatedViaKeyboard = false, ) => { - this.updateProperty("options", options, isUpdatedViaKeyboard); + this.updateProperty(this.props.propertyName, options, isUpdatedViaKeyboard); }; static getControlType() {