diff --git a/source/Ox.UI/js/Form/SelectInput.js b/source/Ox.UI/js/Form/SelectInput.js index 72433dd7..fb926237 100644 --- a/source/Ox.UI/js/Form/SelectInput.js +++ b/source/Ox.UI/js/Form/SelectInput.js @@ -75,7 +75,12 @@ Ox.SelectInput = function(options, self) { }, width: self.options.width }) - .update({value: setValue}); + .update({ + value: function() { + self.options.value = that.options('value'); + setValue(); + } + }); function getTitle() { var value = self.$select ? self.$select.value() : self.options.value; diff --git a/source/Ox.UI/themes/oxmedium/json/theme.jsonc b/source/Ox.UI/themes/oxmedium/json/theme.jsonc index acbf2b12..8c22f104 100644 --- a/source/Ox.UI/themes/oxmedium/json/theme.jsonc +++ b/source/Ox.UI/themes/oxmedium/json/theme.jsonc @@ -29,8 +29,8 @@ "buttonGradient": [[176, 176, 176], [144, 144, 144]], "buttonActiveColor": [0, 0, 0], "buttonActiveGradient": [[160, 160, 160], [160, 160, 160]], - "buttonDisabledColor": [64, 64, 64], - "buttonDisabledGradient": [[128, 128, 128], [96, 96, 96]], + "buttonDisabledColor": [96, 96, 96], + "buttonDisabledGradient": [[176, 176, 176], [144, 144, 144]], "buttonSelectedColor": [255, 255, 255], "buttonSelectedGradient": [[96, 96, 96], [128, 128, 128]],