fix(modal): disable button and update styles based on selection
Checklist:
- [x] I have read freeCodeCamp's contribution guidelines.
- [x] My pull request has a descriptive title (not a vague title like
Update index.md)
Closes #551
Just ran it in my development environment and it seems to be working fine! Only issue I can see is that the snapshot used in testing is not up to date with the new change.
Hi, @NewtonLC, thanks for review. It's ready to merge!
Hi @yakupafsin! I don't have full permission to approve changes, but I'll make sure this gets looked at by a maintainer early next week. Just wanted to let you know there may be a short delay.
Hi @yakupafsin, the Edit Class modal (the modal that appears when you click "Edit Classroom") still uses the old behavior. Could you change it to have the same behavior that you implemented in modal.js? The Edit Class modal seems to be located in ClassInviteTable.js.