trishulio / brewcraft-frontend

0 stars 0 forks source link

Suppliers edit fields are missing UI validations for text length #382

Open mrishab opened 2 years ago

mrishab commented 2 years ago

The fields should have a max field size.

Backend returns an error but user is not communicated about this error. image

slappy commented 2 years ago

We should use the same field sizes the backend db supports?

mrishab commented 2 years ago

We should use the same field sizes the backend db supports?

Yeah. It's easier if you user can see the error before making the call instead of getting 'Oh snap' and being clueless. If you want a certain size lmk it's a easy change.