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() {