mirror of
https://github.com/status-im/liquid-funding.git
synced 2025-02-26 10:05:35 +00:00
add amount input field
This commit is contained in:
parent
b2c3c9706a
commit
8e6bd48315
@ -51,7 +51,7 @@ const Title = ({ className, manifest }) => (
|
||||
const SubmissionSection = ({ classes, profiles, delegatePledges }) => {
|
||||
return (
|
||||
<Formik
|
||||
initialValues={{ delegateProfile: '', delegatePledge: '' }}
|
||||
initialValues={{ amount: '', delegateProfile: '', delegatePledge: '' }}
|
||||
onSubmit={console.log}
|
||||
>
|
||||
{({
|
||||
@ -106,6 +106,20 @@ const SubmissionSection = ({ classes, profiles, delegatePledges }) => {
|
||||
</MenuItem>
|
||||
))}
|
||||
</TextField>}
|
||||
<TextField
|
||||
autoFocus
|
||||
margin="normal"
|
||||
id="amount"
|
||||
name="amount"
|
||||
label="Amount to transfer"
|
||||
placeholder="Amount to transfer"
|
||||
variant="outlined"
|
||||
autoComplete="off"
|
||||
fullWidth
|
||||
onChange={handleChange}
|
||||
onBlur={handleBlur}
|
||||
value={values.amount || ''}
|
||||
/>
|
||||
</form>
|
||||
) }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user