Merge pull request #4519 from ethereum/fix4515

fixes interaction with disabled button
pull/5370/head
yann300 10 months ago committed by GitHub
commit e32ea5bd3c
  1. 1
      libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx

@ -302,7 +302,6 @@ export function ContractGUI(props: ContractGUIProps) {
data-id={buttonOptions.dataId} data-id={buttonOptions.dataId}
data-title={buttonOptions.title} data-title={buttonOptions.title}
disabled={(toggleUpgradeImp && !proxyAddress) || props.disabled || (props.inputs !== '' && basicInput === '')} disabled={(toggleUpgradeImp && !proxyAddress) || props.disabled || (props.inputs !== '' && basicInput === '')}
style={{pointerEvents: 'none'}}
> >
{title} {title}
</button> </button>

Loading…
Cancel
Save