Skip to content

Commit

Permalink
Merge pull request #1444 from bcgov/feat/hamed-add-dollar-sign-value-…
Browse files Browse the repository at this point in the history
…credit-1412

Feat: Add $ sign to Fair Market Value per Credit field - #1412
  • Loading branch information
hamed-valiollahi authored Dec 12, 2024
2 parents 390f6f1 + 7fc8e8e commit 1f15bd6
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions frontend/src/views/Transfers/components/TransferDetails.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,20 +157,21 @@ export const TransferDetails = () => {
size="small"
error={!!errors.pricePerUnit}
helperText={errors.pricePerUnit?.message}
inputProps={{
maxLength: 13,
step: '10',
style: { textAlign: 'right' },
'data-test': 'price-per-unit',
startadornment: (
<InputAdornment position="start">$</InputAdornment>
)
}}
sx={{
minWidth: '24rem',
minWidth: '25rem',
marginInline: '0.2rem',
bottom: '0.2rem'
}}
InputProps={{
startAdornment: (
<InputAdornment position="start">$</InputAdornment>
),
style: { textAlign: 'right' }
}}
inputProps={{
maxLength: 13,
'data-test': 'price-per-unit'
}}
/>
{t('transfer:totalValueText')}
<BCTypography
Expand Down

0 comments on commit 1f15bd6

Please sign in to comment.