mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
Merge pull request #243 from mabashian/1982-smart-float
Removed smart float leading character validation requirement
This commit is contained in:
commit
d2794e241b
@ -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