Skip to content

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

Open
Nemeritz wants to merge 2 commits into
kblincoe:masterfrom
TheGuardianWolf:study-title-check
Open

Checks for create/edit study dialog's Name field to be valid before allowing user to click Next#151
Nemeritz wants to merge 2 commits into
kblincoe:masterfrom
TheGuardianWolf:study-title-check

Conversation

@Nemeritz
Copy link
Copy Markdown
Contributor

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
Copy link
Copy Markdown
Contributor Author

@TheGuardianWolf review please.

@TheGuardianWolf
Copy link
Copy Markdown
Contributor

@softeng-701 Ready for merge, changes checked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants