Просмотр исходного кода

Add username registration to InvitedForm

Shun Miyazawa 4 месяцев назад
Родитель
Сommit
3760abe604
1 измененных файлов с 1 добавлено и 0 удалено
  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"
             type="text"
             className="form-control"
             className="form-control"
             placeholder={t('User ID')}
             placeholder={t('User ID')}
+            {...register('username', { required: true })}
             required
             required
           />
           />
         </div>
         </div>