diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js b/typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js
index 965921f7430c6d0d36fa774cfbdfb8ae04aeb8af..a29d8506fc37d87ca9c7c9f881bc61a2f8c16f97 100644
--- a/typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js
+++ b/typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js
@@ -160,9 +160,10 @@ define('TYPO3/CMS/Backend/FormEngine', ['jquery'], function ($) {
 		} else {
 
 			// The incoming value consists of the table name, an underscore and the uid
+			// or just the uid
 			// For a single selection field we need only the uid, so we extract it
 			var pattern = /_(\\d+)$/
-					,result = value.match(pattern);
+					,result = value.toString().match(pattern);
 
 			if (result != null) {
 				value = result[1];