Closed fnitu closed 2 years ago
Please split the form using the stepper: https://material.angular.io/components/stepper/overview.
The split will be done as following:
In the finalization tab we will have two checkboxes:
Phone field should be text, validation will be done separately.
When sending the information, for profession we will have the following: "profession": ["NURSE", "CARE_ASSISTANT", "CARETAKER"] // array of checked options "other_profession": "" // string
NURSE -> asistent medical CARE_ASSISTANT -> infirmier CARETAKER -> ingrijitor
In the UI, the controls(or at least, the first 3 options) should all belong to a profession multi checkbox.
Contact checkboxes should be unchecked by default instead of indeterminate.
The valid filled in steps should be enabled, so that the user can go back and check again the information.
Contact and finalization step should be joined in one step with two sections, finalization.
Open terms and conditions URLs in another tab.
Related issue: edu-hospice-api#126
Please add validation for phone (length 10 - 14). Please redirect to login page after successful registration.
Please add a timeout before redirecting in order for the "User created" message to be displayed.
Please update the response message: "User created" with translation key: "general.userCreated". Please also ask to be updated also on the server.
Issue implemented.
When clicking on the new user link, a register form should be displayed. It should contain the following fields:
ALL are MANDATORY fields.
Resource: https://docs.google.com/forms/d/e/1FAIpQLSfGY06L8Ya2lbiLiU02rAVUnyZ6lHI46F9ryEVM1SRLhAY6Zg/viewform
Related issue: https://github.com/danutchindris/edu-hospice-api/issues/126