Closed dilippitchika closed 2 years ago
@dilippitchika @techbhavin @sbalaji1192 I think the issue is in ButtonGroupWidget/components/index.tsx
on line 543 remove the curry function -
// change this
onButtonClick = (onClick: string | undefined) => () => {
this.props.buttonClickHandler(onClick);
};
// to this remove the currying here
onButtonClick = (onClick: string | undefined) => {
this.props.buttonClickHandler(onClick);
};
Please also check the onClick for menu items after you remove the currying
Is there an existing issue for this?
Description
Button group widgets on click functionality doesn't work when a button is bound to onClick both in edit and view mode.
Steps To Reproduce
Public Sample App
No response
Version
Production