Don't need showcharacterslefttext if we're always showing number of chars left
This commit is contained in:
committed by
GitHub
parent
0231a6037e
commit
4f2650277a
@@ -10,8 +10,6 @@ function textboxController($scope) {
|
||||
}
|
||||
|
||||
if ($scope.model.config && $scope.model.config.maxChars) {
|
||||
$scope.model.showcharacterslefttext = $scope.model.config.maxChars < 500;
|
||||
|
||||
if ($scope.model.value == undefined) {
|
||||
$scope.model.count = ($scope.model.config.maxChars * 1);
|
||||
} else {
|
||||
@@ -33,4 +31,4 @@ function textboxController($scope) {
|
||||
}
|
||||
}
|
||||
}
|
||||
angular.module('umbraco').controller("Umbraco.PropertyEditors.textboxController", textboxController);
|
||||
angular.module('umbraco').controller("Umbraco.PropertyEditors.textboxController", textboxController);
|
||||
|
||||
Reference in New Issue
Block a user