Add read-only inputs to UI plus Copy to Clipboard buttons (#3095)
* Adds readOnly prop to Input, convert disabled props to it (#3066) * WIP * Adds copy icon to readOnly Input (#3009) * Added Copy to Clipboard buttons on the UI (#3009) * copiable to allowCopy props #3095 * Padded copy icons (#3095) * Fixed password width in account creation * Copyable value in MethodDecoding
This commit is contained in:
committed by
Jaco Greeff
parent
f3d4aa43f3
commit
e4c75bde4c
@@ -29,4 +29,5 @@
|
||||
.icon {
|
||||
position: absolute;
|
||||
top: 35px;
|
||||
left: 24px;
|
||||
}
|
||||
|
||||
@@ -60,7 +60,9 @@ class InputAddress extends Component {
|
||||
error={ error }
|
||||
value={ text && hasAccount ? account.name : value }
|
||||
onChange={ this.handleInputChange }
|
||||
onSubmit={ onSubmit } />
|
||||
onSubmit={ onSubmit }
|
||||
allowCopy={ disabled ? value : false }
|
||||
/>
|
||||
{ icon }
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user