We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb49374 + f37f86f commit 9dad7eaCopy full SHA for 9dad7ea
src/app/features/function-call/FunctionCall.tsx
@@ -91,8 +91,13 @@ const FunctionForm = ({ fn }) => {
91
{fn.inputs?.map((input, idx) => (
92
<div key={input.name} style={{ marginBottom: `1rem` }}>
93
<div>{input.name}:</div>
94
- <Input
95
- type={input.type.substring(0, 4) === "uint" ? "number" : "text"}
+ <Input
+ type={
96
+ input.type.substring(0, 4) === 'uint' &&
97
+ !input.type.includes('[]')
98
+ ? 'number'
99
+ : 'text'
100
+ }
101
placeholder={input.type}
102
value={formState[idx] || ""}
103
onChange={(e) => handleInputChange(idx, e.target.value)}
0 commit comments