Closed IlanitSmul closed 5 years ago
The initial appearance of the navigation bar (immediately after ng serve):
ng serve
The "Sign up" button is disable as long as there are fields of invalid value (in the case described in the picture: All fields are required).
The form cannot be submitted as long as it is not valid. Examples:
After the form has been properly filled in, the "Sign up" button is clickable.
The default is to hide the password. You can view the password by clicking the eye icon on the right.
After clicking "Sign up" - a message from the next form is logged to the console (just for debugging):
After clicking "Close" - a message from the next form is logged to the console (just for debugging):
The "Login" button is disable as long as there are fields of invalid value (in the case described in the picture: All fields are required).
After the form has been properly filled in, the "Login" button is clickable.
After clicking "Login":
A message from the next form is logged to the console (just for debugging):
The welcome message is updated with the username, the "Login" button disappears and instead the "Logout" button appears.
i would be nice if we will add an envierment variable activating a logger function that print instead of a console,log(...) to hide everytime
Navigation Bar (initial state)
The initial appearance of the navigation bar (immediately after
ng serve
):Sign Up Form
The "Sign up" button is disable as long as there are fields of invalid value (in the case described in the picture: All fields are required).
The form cannot be submitted as long as it is not valid. Examples:
After the form has been properly filled in, the "Sign up" button is clickable.
The default is to hide the password. You can view the password by clicking the eye icon on the right.
After clicking "Sign up" - a message from the next form is logged to the console (just for debugging):
After clicking "Close" - a message from the next form is logged to the console (just for debugging):
Login Form
The "Login" button is disable as long as there are fields of invalid value (in the case described in the picture: All fields are required).
After the form has been properly filled in, the "Login" button is clickable.
After clicking "Login":
A message from the next form is logged to the console (just for debugging):
The welcome message is updated with the username, the "Login" button disappears and instead the "Logout" button appears.
After clicking "Close" - a message from the next form is logged to the console (just for debugging):
After clicking "Sign up" - a message from the next form is logged to the console (just for debugging):
Logout