-
Notifications
You must be signed in to change notification settings - Fork 1
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
[BI-770, BI-771, BI-727, BI-726] - Fix deactivate link program and user mgmt. Fix Trait numeric validations and min max validation. #83
Conversation
@@ -43,6 +44,8 @@ | |||
v-bind:value="validMin" | |||
v-on:input="$emit('min-change', $event)" | |||
v-bind:field-help="'Numbers only. Decimals ok.'" | |||
v-bind:validations="clientValidations && clientValidations.scale.validValueMin ? clientValidations.scale.validValueMin : undefined" | |||
v-bind:server-validations="validationHandler.getValidation(validationIndex, TraitError.MaximumValue)" |
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.
Should this be TraitError.MinimumValue?
@@ -35,6 +35,8 @@ | |||
v-bind:value="validMin" | |||
v-on:input="$emit('min-change', $event)" | |||
v-bind:field-help="'Leave blank to specify no lower limit.'" | |||
v-bind:validations="clientValidations && clientValidations.scale.validValueMin ? clientValidations.scale.validValueMin : undefined" | |||
v-bind:server-validations="validationHandler.getValidation(validationIndex, TraitError.MaximumValue)" |
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.
Same thing with MinimumValue here
@@ -26,5 +26,7 @@ export enum TraitError { | |||
ScaleCategories = "scale.categories", | |||
Abbreviations = "abbreviations", | |||
CategoryLabel = "scale.categories.label", | |||
CategoryValue = "scale.categories.value" | |||
CategoryValue = "scale.categories.value", | |||
MinimumValue = "scale.validValueMin", |
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.
Remove this since it isn't used.
No description provided.