Invalid ng-model value is assigned `null` by angular.js which is being matched as `object`, thus disappear in the UI when a minus sign is entered.
@@ -13,6 +13,7 @@ Bart De Vries <[email protected]>
Ben Curthoys <[email protected]>
Ben Schulz <[email protected]> <[email protected]>
Ben Sidhom <[email protected]>
+Benny Ng <[email protected]>
Brandon Philips <[email protected]>
Brendan Long <[email protected]>
Brian R. Becker <[email protected]>
@@ -72,6 +72,7 @@ Stefan-Code <[email protected]> <[email protected]>
timabell <[email protected]>
tnn2 <[email protected]>
tojrobinson <[email protected]>
+tpng <[email protected]>
tylerbrazier <[email protected]>
uok <[email protected]> <[email protected]>
veeti <[email protected]>
@@ -1531,6 +1531,9 @@ angular.module('syncthing.core')
if (key.substr(0, 1) === '_') {
return 'skip';
}
+ if (value === null) {
+ return 'null';
+ }
if (typeof value === 'number') {
return 'number';