Skip to content

Commit

Permalink
copy(contractStateForm): add helper text for output param indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
TomiOhl committed Jan 30, 2025
1 parent 8a4a060 commit ebc55cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/requirements/ContractState/ContractStateForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,10 @@ const ContractStateForm = ({ baseFieldPath }: RequirementFormProps) => {
>
<FormLabel>Expected output:</FormLabel>

<Text fontSize="sm" color="gray.500">
Output param indexes start from 0, i.e. the first output param index is 0
</Text>

{shouldRenderSimpleInputs ? (
<Controller
name={`${baseFieldPath}.data.resultIndex`}
Expand Down

0 comments on commit ebc55cc

Please sign in to comment.