Reentry icon indicating copy to clipboard operation
Reentry copied to clipboard

Input Field validation

Open Ronnie018 opened this issue 2 years ago • 5 comments

Description, please be as detailed as possible:

The fields in the aplication need validators to check for problems before sending data to the database; This validations can include:

  • null or undefined fields;
  • fields without valid text (spaces cannot validade);
  • Be creative; if you think of something that can be checked, include this;

Some fields that need to be validated:

  • Login and Sign-in Forms;
  • Posts;
  • Comment editions;
  • Messages (if page is done);

Tips:

  • New comments (see code in src/components/Posts/comments/addComments/index.jsx) already have a basic validation that can be found in the services folder (src/services/validators/messagingValidations);
  • All validations should be in the validators folder;

I'm using short circuit validation (example below) but, feel free to use another pattern.

example

Ronnie018 avatar Jan 12 '23 02:01 Ronnie018

Hello, can you attribute me this issue ? please

michael251194 avatar Jan 12 '23 12:01 michael251194

Hello, can you attribute me this issue ? please

Hey @michael251194 , thank you for the interest in this project, if you need have any problems with the repo or need any help with something we are here to help

Ronnie018 avatar Jan 12 '23 15:01 Ronnie018

Hey @michael251194, how's the field validation goin? need any help?

Ronnie018 avatar Jan 18 '23 19:01 Ronnie018

Hey @michael251194, how's the field validation goin? need any help?

Hey @Ronnie018, it's ok at the moment thanks !

michael251194 avatar Jan 18 '23 19:01 michael251194

@michael251194, I'm just checking in. Is there anything I can do to help?

4-Leafs-Code avatar Jan 25 '23 14:01 4-Leafs-Code