Closed saulyz closed 3 years ago
Form data validation should be performed before submitting data to the API. User should be informed about incorrect input as soon as input lose focus state. Backend validation is just a safety net and a prevention of invalid data entering into the system.
Please note, that a part of this task was separated as #188, #196. So if that task is not done yet, just ensure there will be Error data prepared for that component. And define what should you expect of getting back from it.
the scope of this task was shrunk by dividing this task into 2 parts.
is closed with #207
To prepare the page for Animal create some additional changes are needed.
1) changes in fields
NOTE: fields are removed to simplify the creation process and will be added as part of another process. Add Image will be possible from AnimalDetails only.
IMPORTANT: This page and the form will be used for Animal edit. Make sure the binding of existing values would be possible (will be a separate task)
The task will be updated with more details.