-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Since we used one input to search for firstName or lastName or phone.
In this case, the input value will be the same for the 3 things and that's will make the request failed because every field has a different validation.
As you can see in the picture
search?firstName=Vivian&lastName=Vivian&phone=Vivian
In search cases, we don't have to be very strict on what values the user will input, but in post request, we should care about it.
Instead of validation for search, we can handle a message that tells the user there is no result for your input value.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
