Merge pull request #1232 from gnosis/fix/fullValue
Result of "call" is cut off
This commit is contained in:
commit
883111f9b9
|
@ -1,12 +1,24 @@
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import { useField } from 'react-final-form'
|
import { useField } from 'react-final-form'
|
||||||
|
import { makeStyles } from '@material-ui/core/styles'
|
||||||
import TextField from 'src/components/forms/TextField'
|
import TextField from 'src/components/forms/TextField'
|
||||||
import Col from 'src/components/layout/Col'
|
import Col from 'src/components/layout/Col'
|
||||||
import Paragraph from 'src/components/layout/Paragraph'
|
import Paragraph from 'src/components/layout/Paragraph'
|
||||||
import Row from 'src/components/layout/Row'
|
import Row from 'src/components/layout/Row'
|
||||||
|
|
||||||
|
const useStyles = makeStyles({
|
||||||
|
output: {
|
||||||
|
'& > div > textarea': {
|
||||||
|
letterSpacing: '-0.5px',
|
||||||
|
lineHeight: '20px',
|
||||||
|
height: '40px',
|
||||||
|
overflowY: 'auto',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
const RenderOutputParams = () => {
|
const RenderOutputParams = () => {
|
||||||
|
const classes = useStyles()
|
||||||
const {
|
const {
|
||||||
input: { value: method },
|
input: { value: method },
|
||||||
}: any = useField('selectedMethod', { subscription: { value: true } })
|
}: any = useField('selectedMethod', { subscription: { value: true } })
|
||||||
|
@ -31,7 +43,10 @@ const RenderOutputParams = () => {
|
||||||
<Row key={key} margin="sm">
|
<Row key={key} margin="sm">
|
||||||
<Col>
|
<Col>
|
||||||
<TextField
|
<TextField
|
||||||
|
className={classes.output}
|
||||||
|
multiline
|
||||||
disabled
|
disabled
|
||||||
|
rowsMax={3}
|
||||||
input={{ name: key, value, placeholder, type: 'text' }}
|
input={{ name: key, value, placeholder, type: 'text' }}
|
||||||
meta={{ valid: true }}
|
meta={{ valid: true }}
|
||||||
testId={key}
|
testId={key}
|
||||||
|
|
Loading…
Reference in New Issue