Code Review
/
sdc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add validation for int and float constraints
[sdc.git]
/
catalog-ui
/
src
/
app
/
view-models
/
forms
/
property-forms
/
component-property-form
/
property-form-view-model.ts
diff --git
a/catalog-ui/src/app/view-models/forms/property-forms/component-property-form/property-form-view-model.ts
b/catalog-ui/src/app/view-models/forms/property-forms/component-property-form/property-form-view-model.ts
index
05045c1
..
52e8c00
100644
(file)
--- a/
catalog-ui/src/app/view-models/forms/property-forms/component-property-form/property-form-view-model.ts
+++ b/
catalog-ui/src/app/view-models/forms/property-forms/component-property-form/property-form-view-model.ts
@@
-507,6
+507,8
@@
export class PropertyFormViewModel {
}
this.$scope.onConstraintChange = (constraints: any): void => {
+ console.log('$scope.onConstraintChange', constraints);
+
if (!this.$scope.invalidMandatoryFields) {
this.$scope.footerButtons[0].disabled = !constraints.valid;
} else {