mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUAC-1179: Fix handling of numeric fields - use model value, not field value.
This commit is contained in:
		| @@ -183,7 +183,7 @@ angular.module('form').directive('guacFormField', [function formField() { | ||||
|  | ||||
|                 // Coerce numeric strings to numbers | ||||
|                 if ($scope.field.type === 'NUMERIC') | ||||
|                     $scope.typedValue = (modelValue ? Number($scope.field.value) : null); | ||||
|                     $scope.typedValue = (modelValue ? Number(modelValue) : null); | ||||
|  | ||||
|                 // Coerce boolean strings to boolean values | ||||
|                 else if ($scope.field.type === 'BOOLEAN') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user