bigshortbets / market-frontend

BigShortBet$ P2P Market is a cutting-edge peer-to-peer marketplace built on the principles of decentralization that allows direct P2P trading on unique & event-based markets. Enjoy ultra-low fees and no swaps. Powered by $BigSB.
https://app.bigsb.io
GNU General Public License v3.0
2 stars 4 forks source link

Order Quantity field accepts decimals despite contracts being non-dividable #84

Closed DanDanielD closed 2 weeks ago

DanDanielD commented 2 months ago

Currently, it is possible to enter a decimal point (".") in the Quantity field when placing an order, even though fractional contracts are not supported. Clicking 'Place Order' with a decimal value in the Quantity field results in a generic 'Error!' message at the top of the screen (see screenshot).

Expected behavior:

Users should not be able to enter a decimal point (".") in the Quantity field.

Screenshot:

image

kacpergumieniuk commented 2 weeks ago

Fixed , expected behavior has been met