You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed when reviewing #390 that the logic for showing the incomplete message with the name input in the single user workflow for Add Non UM Users is somewhat inconsistent. In handleSubmitClick in UserEnrollmentForm, the check is for (firstName === undefined && lastName === undefined), but in the nameInput block, the incomplete message is shown if either is undefined. This doesn't result in any major bugs, just some inconsistent messaging when you only enter a first name or last name. For instance, if you enter just a first name and hit submit, you only see validation errors, no incomplete message; but then if you leave something else incomplete and hit submit, then you do see the incomplete message.
The text was updated successfully, but these errors were encountered:
I noticed when reviewing #390 that the logic for showing the incomplete message with the name input in the single user workflow for Add Non UM Users is somewhat inconsistent. In
handleSubmitClick
inUserEnrollmentForm
, the check is for(firstName === undefined && lastName === undefined)
, but in thenameInput
block, the incomplete message is shown if either isundefined
. This doesn't result in any major bugs, just some inconsistent messaging when you only enter a first name or last name. For instance, if you enter just a first name and hit submit, you only see validation errors, no incomplete message; but then if you leave something else incomplete and hit submit, then you do see the incomplete message.The text was updated successfully, but these errors were encountered: