Commit 4d325f11 authored by tom goriunov's avatar tom goriunov Committed by GitHub

Bug: number inputs are not disabled (#2894)

Fixes #2892
parent a4601d4e
...@@ -207,6 +207,7 @@ const ContractMethodFieldInput = ({ data, hideLabel, path: name, className, isDi ...@@ -207,6 +207,7 @@ const ContractMethodFieldInput = ({ data, hideLabel, path: name, className, isDi
{ ...inputProps } { ...inputProps }
{ ...(error ? { 'data-invalid': true } : {}) } { ...(error ? { 'data-invalid': true } : {}) }
onPaste={ handlePaste } onPaste={ handlePaste }
disabled={ isDisabled }
asChild asChild
> >
<NumericFormat <NumericFormat
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment