File tree 1 file changed +15
-1
lines changed
1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ export function RoleConditionUiUpdateFormFungible({
16
16
const form = useForm < UserUpdateRoleConditionInput > ( {
17
17
initialValues : {
18
18
amount : item . amount ?? '' ,
19
+ amountMax : item . amountMax ?? '' ,
19
20
} ,
20
21
} )
21
22
@@ -26,7 +27,20 @@ export function RoleConditionUiUpdateFormFungible({
26
27
} ) }
27
28
>
28
29
< UiStack >
29
- < TextInput label = "Amount" type = "number" min = { 0 } step = { 1 } { ...form . getInputProps ( 'amount' ) } />
30
+ < TextInput
31
+ label = "Amount (Min)"
32
+ description = "Minimal amount of tokens to match"
33
+ step = "any"
34
+ min = "0"
35
+ { ...form . getInputProps ( 'amount' ) }
36
+ />
37
+ < TextInput
38
+ label = "Amount (Max)"
39
+ description = "Maximum amount of tokens to match"
40
+ step = "any"
41
+ min = "0"
42
+ { ...form . getInputProps ( 'amountMax' ) }
43
+ />
30
44
< Group justify = "right" >
31
45
{ children }
32
46
< Button type = "submit" > Save</ Button >
You can’t perform that action at this time.
0 commit comments