diff --git a/app/client/src/widgets/wds/WDSInputWidget/widget/index.tsx b/app/client/src/widgets/wds/WDSInputWidget/widget/index.tsx index 9de9d5da8d..35823822eb 100644 --- a/app/client/src/widgets/wds/WDSInputWidget/widget/index.tsx +++ b/app/client/src/widgets/wds/WDSInputWidget/widget/index.tsx @@ -83,6 +83,8 @@ class WDSInputWidget extends WDSBaseInputWidget { } onFocusChange = (focusState: boolean) => { + if (this.props.isReadOnly) return; + if (focusState) { this.props.updateWidgetMetaProperty("isFocused", focusState, { triggerPropertyName: "onFocus",