mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 18:41:38 +01:00
Only allow numbers in gas inputs
This commit is contained in:
parent
f162a11585
commit
5f378d382e
@ -44,6 +44,7 @@ HexAsDecimalInput.prototype.render = function () {
|
||||
textAlign: 'right',
|
||||
backgroundColor: 'transparent',
|
||||
border: '1px solid #bdbdbd',
|
||||
type: 'number',
|
||||
}, style),
|
||||
value: decimalValue,
|
||||
onChange: (event) => {
|
||||
|
Loading…
Reference in New Issue
Block a user