Sunagatov / Iced-Latte-Frontend

a online Marketplace for coffee retail (Frontend)
https://iced-latte.uk
MIT License
211 stars 48 forks source link

(MAIN PAGE) Filter Price. The field takes invalid values from buffer #255

Open Diana-Smolnikova opened 3 months ago

Diana-Smolnikova commented 3 months ago

Describe the bug Filed takes text and symbols (#$'[]=-}+{?>< etc)

To Reproduce Steps to reproduce the behavior:

  1. Open main page
  2. Select field with id="from-price-input" or id="to-price-input"
  3. Paste string "#$'[]=-}+{?><"

Expected behavior Input should take only positive integers

Actual behavior Input takes not only positive integers

Снимок экрана 2024-06-19 в 00 46 19