mirror of
https://github.com/trezor/trezor-wallet
synced 2024-12-30 19:00:53 +00:00
Textare max size
This commit is contained in:
parent
7ecfdb7ec2
commit
739339b53e
@ -126,6 +126,8 @@ const TextArea = ({
|
||||
name,
|
||||
onChange,
|
||||
topLabel,
|
||||
rows,
|
||||
maxRows,
|
||||
state = '',
|
||||
bottomText = '',
|
||||
isInTrezorAction = false,
|
||||
@ -137,6 +139,8 @@ const TextArea = ({
|
||||
<TopLabel>{topLabel}</TopLabel>
|
||||
)}
|
||||
<StyledTextarea
|
||||
maxRows={maxRows}
|
||||
rows={rows}
|
||||
className={className}
|
||||
disabled={isDisabled}
|
||||
name={name}
|
||||
@ -167,6 +171,8 @@ TextArea.propTypes = {
|
||||
customStyle: PropTypes.string,
|
||||
placeholder: PropTypes.string,
|
||||
value: PropTypes.string,
|
||||
maxRows: PropTypes.number,
|
||||
rows: PropTypes.number,
|
||||
name: PropTypes.string,
|
||||
isDisabled: PropTypes.bool,
|
||||
topLabel: PropTypes.node,
|
||||
|
@ -155,7 +155,8 @@ class SignVerify extends Component {
|
||||
name="signMessage"
|
||||
value={this.state.signMessage}
|
||||
onChange={this.handleInputChange}
|
||||
rows="2"
|
||||
rows={4}
|
||||
maxRows={4}
|
||||
maxLength="255"
|
||||
isInTrezorAction={this.props.isSignProgress}
|
||||
/>
|
||||
@ -175,7 +176,8 @@ class SignVerify extends Component {
|
||||
<Textarea
|
||||
name="signSignature"
|
||||
value={this.props.signature}
|
||||
rows="2"
|
||||
rows={4}
|
||||
maxRows={4}
|
||||
maxLength="255"
|
||||
isDisabled
|
||||
/>
|
||||
@ -209,7 +211,8 @@ class SignVerify extends Component {
|
||||
name="verifyMessage"
|
||||
value={this.state.verifyMessage}
|
||||
onChange={this.handleInputChange}
|
||||
rows="4"
|
||||
rows={4}
|
||||
maxRows={4}
|
||||
maxLength="255"
|
||||
/>
|
||||
</Row>
|
||||
@ -219,7 +222,8 @@ class SignVerify extends Component {
|
||||
name="verifySignature"
|
||||
value={this.state.verifySignature}
|
||||
onChange={this.handleInputChange}
|
||||
rows="4"
|
||||
rows={4}
|
||||
maxRows={4}
|
||||
maxLength="255"
|
||||
/>
|
||||
</Row>
|
||||
|
Loading…
Reference in New Issue
Block a user