More component maxlengths
This commit is contained in:
parent
adc2fd4d63
commit
0ce35629a2
|
@ -198,7 +198,7 @@ class CreateFlowBasics extends React.Component<Props, State> {
|
|||
value={target}
|
||||
onChange={this.handleInputChange}
|
||||
addonAfter="ZEC"
|
||||
maxLength={20}
|
||||
maxLength={16}
|
||||
/>
|
||||
</Form.Item>
|
||||
</Form>
|
||||
|
|
|
@ -124,6 +124,7 @@ const MilestoneFields = ({
|
|||
name="title"
|
||||
value={milestone.title}
|
||||
onChange={ev => onChange(index, { ...milestone, title: ev.currentTarget.value })}
|
||||
maxLength={80}
|
||||
/>
|
||||
<button
|
||||
onClick={() => onRemove(index)}
|
||||
|
@ -147,6 +148,7 @@ const MilestoneFields = ({
|
|||
onChange={ev =>
|
||||
onChange(index, { ...milestone, content: ev.currentTarget.value })
|
||||
}
|
||||
maxLength={255}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
@ -190,6 +192,7 @@ const MilestoneFields = ({
|
|||
}
|
||||
addonAfter="%"
|
||||
style={{ maxWidth: '120px', width: '100%' }}
|
||||
maxLength={6}
|
||||
/>
|
||||
{index === 0 && (
|
||||
<div style={{ display: 'flex', alignItems: 'center', marginLeft: '0.5rem' }}>
|
||||
|
|
Loading…
Reference in New Issue