aces / Loris

LORIS is a web-accessible database solution for longitudinal multi-site studies.
GNU General Public License v3.0
145 stars 173 forks source link

[survey_module] Email survey button behaviour could be improved #7918

Open nicolasbrossard opened 2 years ago

nicolasbrossard commented 2 years ago

Steps to reproduce the "bug":

  1. Access the survey module and click on 'Add Survey'.
  2. Fill out the form and enter valid information in all field, from top to bottom and leave your cursor in the last field of the form ('Confirm Email Address')
  3. The email button is only enabled when the focus is given to a component other than the 'Confirm Email Address' text field

I am thinking it would be better to enable the button as soon as the 'Email Address' and 'Confirm Email Address' match.

ridz1208 commented 1 year ago

@regisoc good starter task for react, not urgent. the form is in old boring JS needs to be reactified

regisoc commented 1 year ago

@regisoc good starter task for react, not urgent. the form is in old boring JS needs to be reactified

Got it! Thanks @ridz1208!

nicolasbrossard commented 1 month ago

Still a good React starter task as of 2024SEP18.