OdyseeTeam / odysee-frontend

The code that runs odysee.com
https://odysee.com
MIT License
213 stars 68 forks source link

Very minor bug: "You already have a claim at..." warning doesn't clear if name field is cleared #64

Open keikari opened 3 years ago

keikari commented 3 years ago

Bug "You already have a claim at..." warning doesn't clear if name field is cleared. (Still clears if you type anything that isn't name of existing claim)

To Reproduce Steps to reproduce the behavior:

  1. Go to Upload form
  2. Type name of some claim that already exists on your account
  3. Clear the text from name field
  4. The warning doesn't clear

Expected behavior Clear warning about "name already existing" when name field is empty.

Screenshots

clearing-error

GlobalGamer2015 commented 3 years ago

I did some testing to replicate that bug. I managed to replicate it by doing the above steps 1 and 2 then:

  1. CTRL+A then DEL or Backspace buttons. Then Step 4 above, appears, even if you refresh the page.