Parcourir la source

Add username registration to InvitedForm

Shun Miyazawa il y a 5 mois
Parent
commit
3760abe604
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      apps/app/src/client/components/InvitedForm.tsx

+ 1 - 0
apps/app/src/client/components/InvitedForm.tsx

@@ -111,6 +111,7 @@ export const InvitedForm = (props: InvitedFormProps): JSX.Element => {
             type="text"
             className="form-control"
             placeholder={t('User ID')}
+            {...register('username', { required: true })}
             required
           />
         </div>