I have this validation check:
if (isNaN($scope.QuickQuoteData.RequestedAmount)) {
$scope.ShowValidation = true;
$scope.errors.push('Requested amount has invalid value.');
}
But what I want to allow is for example if user will enter values in this format:
€ 1500000
€ 1.500.000
1.500.000
Then I need to allow the operation to continue instead of throwing validation error.
So every other format will be invalid except the input values in the formats above.
Any idea how can I tweak that?