Skip to content

Commit

Permalink
Add title to BFT total weight input in manual pno form
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Sep 25, 2024
1 parent 4fbad3d commit a3aba74
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,14 @@ export function FormikFishingCatchesMultiSelect({ isReadOnly }: FormikFishingCat
areArrowsHidden
isErrorMessageHidden
isLabelHidden
isLight
label={`Poids (${fishingCatch.specyCode})`}
name={`fishingCatches[${index}].weight`}
readOnly={isReadOnly || fishingCatch.specyCode === BLUEFIN_TUNA_SPECY_CODE}
title={
fishingCatch.specyCode === BLUEFIN_TUNA_SPECY_CODE
? 'Le poids total est calculé à partir des poids saisis dans les cases BF1, BF2, BF3'
: undefined
}
unit="kg"
/>
</SubRow>
Expand Down Expand Up @@ -178,6 +182,11 @@ const Row = styled.div`
flex-direction: column;
margin-top: 24px;
row-gap: 8px;
.Field-NumberInput {
max-width: 96px;
min-width: 96px;
}
`

const SpecyTag = styled(SingleTag)`
Expand Down

0 comments on commit a3aba74

Please sign in to comment.