kblincoe / QualOpt_SE701

2 stars 15 forks source link

Checks for create/edit study dialog's Name field to be valid before allowing user to click Next #151

Open Nemeritz opened 6 years ago

Nemeritz commented 6 years ago

This pull request fixes issue #129.

After the fix the user will not be able to click the "Next" button in the study dialog without a valid Name field as shown below.

peek 2018-03-28 20-02

The fix involved setting the "Next" button in the dialog to disabled when the Name field is invalid in the study-dialog.component html file like when it checks for the Email Subject field when saving.

Dependency

145 can now only worry about the study page's fields and not the email page when checking to see if the close window prompt needs to be there as there has to be something in the study dialog when you are in the email dialog.

Nemeritz commented 6 years ago

@TheGuardianWolf review please.

TheGuardianWolf commented 6 years ago

@softeng-701 Ready for merge, changes checked.