Skip to content

Commit

Permalink
Resolve #1088 Amount should be placeholder in transfer form
Browse files Browse the repository at this point in the history
  • Loading branch information
InVincible2016 committed Jan 20, 2020
1 parent 2624b64 commit 10332d7
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions src/components/EmailTransferFormComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ class EmailTransferFormComponent extends Component<Props, State> {
variant='outlined'
error={!!formError.transferAmount}
type='number'
placeholder='Amount'
helperText={
formError.transferAmount ||
(accountSelection
Expand All @@ -169,13 +170,6 @@ class EmailTransferFormComponent extends Component<Props, State> {
onChange={handleTransferFormChange('transferAmount')}
value={transferAmount}
InputProps={{
startAdornment: (
<InputAdornment position='start'>
<Typography variant='body2' color='textSecondary'>
Amount
</Typography>
</InputAdornment>
),
endAdornment: (
<InputAdornment position='end'>
<Typography variant='body2' color='textSecondary'>
Expand Down Expand Up @@ -204,17 +198,11 @@ class EmailTransferFormComponent extends Component<Props, State> {
onWheel={event => {
event.preventDefault()
}}
placeholder='Amount'
disabled={!accountSelection}
onChange={handleTransferFormChange('transferCurrencyAmount')}
value={transferCurrencyAmount}
InputProps={{
startAdornment: (
<InputAdornment position='start'>
<Typography variant='body2' color='textSecondary'>
Amount
</Typography>
</InputAdornment>
),
endAdornment: (
<InputAdornment position='end'>
<Typography variant='body2' color='textSecondary'>
Expand Down

0 comments on commit 10332d7

Please sign in to comment.