kodadot / sub-scaffold

🏗 forkable Substrate dev stack focused on fast product iterations
sub-scaffold.vercel.app
MIT License
12 stars 1 forks source link

Create asset component #10

Closed dudo50 closed 1 year ago

dudo50 commented 1 year ago

Create a component, that will handle decimals when inputting the amount. (Eg. instead 1 000 000 000 000 user will input 1 and will be able to increase, decrease amount by clicks also)

brano-hozza commented 1 year ago

@dudo50 can you give me more info? I would like to start on this one

dudo50 commented 1 year ago

Yes, at current time if I need to send 1 KSM for example then in ParaSpell UI i need to type into input form 1000000000000 (12decimals) i would love to have conversion here, where user can for example type 1 and it would mean 1KSM, these ^12 zeros will be converted in component (will save user a lot of time) I would also like to have 2 buttons on right side to ^ go up and to go down. For example if user clicks on going up it will be 1.01 if user clicks on going down button it will be 0.99 (these buttons will be inside input form) did that clarify it for you ? @brano-hozza

brano-hozza commented 1 year ago

Yep, thanks for additional info