eraeco / pay

Checkard is a peer-to-peer check payment system for ERA PAY.
MIT License
4 stars 0 forks source link

MICR has some funny edge cases if you don't follow instructions #13

Closed jazzyjackson closed 4 weeks ago

jazzyjackson commented 1 month ago

the MICR function doesn't anticipate anything but a number being input - if its empty, it falls back to '0000' which is good, but if it has whitespace or letters nothing will appear and it is difficult to click on the target again, have to tab into it.

Could make the input type number -- you might want this for mobile anyway so they number keyboard gets pulled up, but then we'd have to add style to hide the default 'up/down' arrows. Could also just call err if anything but a number is typed, and use 0000 if the box loses focus in an error state.