Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update input state after inviting the client. #15

Open
sethhrbek opened this issue Nov 30, 2023 · 0 comments · Fixed by #25
Open

Update input state after inviting the client. #15

sethhrbek opened this issue Nov 30, 2023 · 0 comments · Fixed by #25

Comments

@sethhrbek
Copy link
Contributor

Prior to sending invite:

  1. Disable the button (isDisabled={} in chakra button component) if the email is not valid. Only enable the button once the email is valid.

When invite is sent to client (after clicking button):

  1. use the isLoading state in the Chakra button component to indicate a request is pending (this will disable the button after being clicked)
  2. If request is successful, clear the input value (remove the email)
@sethhrbek sethhrbek converted this from a draft issue Nov 30, 2023
@DarksightKellar DarksightKellar moved this from Bugs/Enhancements to EAAS in sarcophagus v2 project board Nov 30, 2023
@DarksightKellar DarksightKellar moved this from EAAS to Ready for Review in sarcophagus v2 project board Nov 30, 2023
@DarksightKellar DarksightKellar linked a pull request Nov 30, 2023 that will close this issue
@sethhrbek sethhrbek moved this from Ready for Review to Staging in sarcophagus v2 project board Dec 5, 2023
@sethhrbek sethhrbek moved this from Staging to Done in sarcophagus v2 project board Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant