uw-ssec / post-disaster-comms

Repository for the Post Disaster Comms Project
https://pdc-ssec.readthedocs.io
BSD 3-Clause "New" or "Revised" License
0 stars 3 forks source link

Update Sign up and Login Buttons (copy) #168

Closed parvatijay2901 closed 4 weeks ago

parvatijay2901 commented 4 weeks ago

Issue #90

  1. Added isAllFieldsFilled property and a checkAllFieldsFilled function to the SignupState and LoginState classes to make sure the app can check if all the required fields are completed.
  2. Added a section to check if isAllFieldsFilled and isValid are true => have the login button / signup button as "blue"/primary color, else, by default it is grey.
  3. Updated the logic to have the button activated only when isAllFieldsFilled and isValid are true.
  4. Fixed isValid bug
  5. Updated thepassword and confirm password logic to build when either of them change.