mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 07:56:06 -03:30
Removed smart float leading character validation requirement
This commit is contained in:
@@ -327,7 +327,7 @@ function(ConfigurationUtils, i18n, $rootScope) {
|
||||
}])
|
||||
|
||||
.directive('smartFloat', function() {
|
||||
var FLOAT_REGEXP = /^\-?\d+((\.|\,)\d+)?$/;
|
||||
var FLOAT_REGEXP = /(^\-?\d+)?((\.|\,)\d+)?$/;
|
||||
return {
|
||||
require: 'ngModel',
|
||||
link: function(scope, elm, attrs, ctrl) {
|
||||
|
||||
Reference in New Issue
Block a user