Merge pull request #1232 from gnosis/fix/fullValue

Result of "call" is cut off
This commit is contained in:
Mati Dastugue 2020-08-12 18:15:04 -03:00 committed by GitHub
commit 883111f9b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 835 deletions

View File

@ -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}

861
yarn.lock

File diff suppressed because it is too large Load Diff