De-activation of 'Add user' button when email entered isn’t on the system
Context
In the Add members modal, the 'Add user' button shouldn't be active until you have selected a user that is on the system.
In the first two cases below, the button should not be active:
In this case, the button should be active:
Proposal
Only make the button active when a valid user on the system has been selected.
Design
Implementation (if applicable)
The button should start in disabled mode. When then async call to the backend resolved and there are actual results and not an empty array, then the button should become enabled. Also, the state of the button should become more apparent (the disabled/enabled states).