in entity-browser-frontend/app/controller/form-view/properties.js [37:49]
propertiesCtrl.validateType = function (property) {
var maxValue = property.type.validation.maxValue;
var minValue = property.type.validation.minValue;
if (maxValue || minValue) {
var value = parseInt(property.value);
if (value) {
var inputName = propertiesCtrl.properties.indexOf(property) + 'value';
var input = $scope.propsForm[inputName];
input.$setValidity("max", !maxValue || value < maxValue);
input.$setValidity("min", !minValue || value > minValue);
}
}
}