snaps icon indicating copy to clipboard operation
snaps copied to clipboard

Address UI component limited to `0x` strings

Open Eligioo opened this issue 1 year ago • 2 comments

The address UI component only accepts strings that start with "0x" followed by exactly 40 characters which can be any combination of hexadecimal digits (0-9, a-f, A-F). With the possibility now to support different chains other than Ethereum this feels limited as other coins display addresses in different formats.

Additionally the possibility for the address component to accept a second parameter where you can provide a SVG to override the icon displayed makes this component more flexible.

Eligioo avatar Apr 04 '24 10:04 Eligioo

yes agree

Farhoo avatar May 09 '24 06:05 Farhoo

This is a known issue which we plan to address, thank you for sharing your feedback!

Montoya avatar May 13 '24 14:05 Montoya

This will be addressed in an upcoming release, follow https://github.com/MetaMask/snaps/issues/2679 for updates.

FrederikBolding avatar Sep 04 '24 12:09 FrederikBolding