mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
Removed smart float leading character validation requirement
This commit is contained in:
parent
0c652f2a3a
commit
279d24e1b1
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user