dusk-network / rusk

The reference Dusk platform implementation and tools
Mozilla Public License 2.0
162 stars 60 forks source link

Web-Wallet - decimal point only accepted after first trying decimal comma #2873

Open fe71ks opened 1 week ago

fe71ks commented 1 week ago

Describe the bug Not sure what expected behavior is but a decimal point is not registered/accepted until trying out a decimal comma first.

To Reproduce Type "0." followed by some decimals; only the decimals are registed (0.6969 becomes 6969) Type 0," followed by some decimals and the full input is registered (0,6969) Type "0." followed by some decimals again and now the full input is registered as well (0.6969)

ascartabelli commented 2 days ago

All inputs requiring numbers use as the decimal separator the one used by your current locale (browser / operative system).

If your current locale uses a comma as the decimal separator, then the dot is ignored and vice versa.

Unless I misunderstood your problem, at my eyes everything is working as intended.

fe71ks commented 2 days ago

My current locale uses a comma as the decimal separator. When I use the dot it is ignored but after I first input something with a comma and then something with a dot, the dot is accepted suddenly.

ascartabelli commented 2 days ago

Apparently I can't replicate your situation: can you provide a short video where you show what's happening? Also what is the browser and OS where this is happening?