fit-ui 2.17.1 → 2.17.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Fit.UI.js +7 -4
- package/dist/Fit.UI.min.js +1 -1
- package/package.json +1 -1
package/dist/Fit.UI.js
CHANGED
|
@@ -682,7 +682,7 @@ Fit._internal =
|
|
|
682
682
|
{
|
|
683
683
|
Core:
|
|
684
684
|
{
|
|
685
|
-
VersionInfo: { Major: 2, Minor: 17, Patch:
|
|
685
|
+
VersionInfo: { Major: 2, Minor: 17, Patch: 3 } // Do NOT modify format - version numbers are programmatically changed when releasing new versions - MUST be on a separate line!
|
|
686
686
|
}
|
|
687
687
|
};
|
|
688
688
|
|
|
@@ -23751,7 +23751,7 @@ Fit.Controls.Input = function(ctlId)
|
|
|
23751
23751
|
//return designEditorDetached.GetFocused();
|
|
23752
23752
|
}
|
|
23753
23753
|
|
|
23754
|
-
elm = input;
|
|
23754
|
+
var elm = input;
|
|
23755
23755
|
|
|
23756
23756
|
if (me.DesignMode() === true)
|
|
23757
23757
|
{
|
|
@@ -23885,6 +23885,8 @@ Fit.Controls.Input = function(ctlId)
|
|
|
23885
23885
|
|
|
23886
23886
|
if (Fit.Validation.IsSet(val) === true)
|
|
23887
23887
|
{
|
|
23888
|
+
val = me.Type() === "Color" ? val.toUpperCase() : val;
|
|
23889
|
+
|
|
23888
23890
|
var fireOnChange = (me.Value() !== val);
|
|
23889
23891
|
|
|
23890
23892
|
orgVal = (preserveDirtyState !== true ? val : orgVal);
|
|
@@ -24008,7 +24010,7 @@ Fit.Controls.Input = function(ctlId)
|
|
|
24008
24010
|
return curVal;
|
|
24009
24011
|
}
|
|
24010
24012
|
|
|
24011
|
-
return input.value;
|
|
24013
|
+
return me.Type() === "Color" ? input.value.toUpperCase() : input.value;
|
|
24012
24014
|
}
|
|
24013
24015
|
|
|
24014
24016
|
// See documentation on ControlBase
|
|
@@ -27369,8 +27371,9 @@ Fit.Controls.Input = function(ctlId)
|
|
|
27369
27371
|
function fireOnChange()
|
|
27370
27372
|
{
|
|
27371
27373
|
var newVal = me.Value();
|
|
27374
|
+
var compareValue = me.Type() === "Color" ? preVal.toUpperCase() : preVal; // Value() returns uppercase value for color picker - preVal might be in lower case if assigned before input type was changed
|
|
27372
27375
|
|
|
27373
|
-
if (newVal !==
|
|
27376
|
+
if (newVal !== compareValue)
|
|
27374
27377
|
{
|
|
27375
27378
|
// DISABLED: No longer necessary with the introduction of designEditorDirty which ensures
|
|
27376
27379
|
// that we get the initial value set from Value(), unless changed by the user using the editor.
|