-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix: minOrder-maxOrder & minPrice-maxPrice validation in basic-details-step #3849
Conversation
window.$.fn.form.settings.rules.checkMaxMinOrder = () => { | ||
return this.$('.ui.form').form('get value', 'ticket_min_order') <= this.$('.ui.form').form('get value', 'ticket_max_order'); | ||
}; | ||
window.$.fn.form.settings.rules.checkMaxTotal = () => { |
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.
Check if server validations are present for them or not.
If not then first server validations need to be added then the FE
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.
@kushthedude Yes the server validations are already persent.
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.
Codecov Report
@@ Coverage Diff @@
## development #3849 +/- ##
===============================================
+ Coverage 21.83% 21.86% +0.02%
===============================================
Files 460 460
Lines 4726 4730 +4
===============================================
+ Hits 1032 1034 +2
- Misses 3694 3696 +2
Continue to review full report at Codecov.
|
Fixes #3521
Short description of what this resolves:
Added minOrder-maxOrder & minPrice-maxPrice validation in ticket-input.
(Server checks are already present.)
Changes proposed in this pull request: