-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GH-33] Require events value are not emtpy upon a subscription save #65
Conversation
@jfrerich This change does prevent the save. however, no validation message appears when events are left empty. This is a bit confusing because the UI just looks non-responsive. Ideally this would show the text |
@DHaussermann, can you double-check the message is not showing? When I click |
@jfrerich - This is strange. I am not seeing this text. I seem to get a JS error in the browser console. |
@jfrerich any thoughts on why we aren't seeing the same thing here? Should we connect or Zoom to see if we can sort it out? |
events vs big x on RHS of select
Codecov Report
@@ Coverage Diff @@
## master #65 +/- ##
=======================================
Coverage 29.48% 29.48%
=======================================
Files 8 8
Lines 234 234
=======================================
Hits 69 69
Misses 153 153
Partials 12 12 Continue to review full report at Codecov.
|
@DHaussermann. Thanks for catching edge case. For future reference, the select modal value is different when removing all events individually vs clearing all of them with the
This is ready for another review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and passed
- Confirmed validation on events is working as expected
- Regression tested other other field validation
- Issue above has now been resolved
Thanks @jfrerich for solving the edge case.
LGTM!
Summary
This PR checks that a required dropdown event has at non-empty array and applies that check for the events dropdown.
Ticket Link
fixes #33