Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    FloatItem.getValueAsFloat() throws exception

    After updating from SmartGWT version 6.0-p20170620 to version 6.0-p20171213, the FloatItem throws the following exception.

    (TypeError) : _1.contains is not a function
    Unknown.isc_c_NumberUtil_parseLocaleFloat(http://ensrd101.enisco.corp/platform....0p_2017-11-25)
    Unknown.isc_FloatItem_getValueAsFloat(http://ensrd101.enisco.corp/platform....0p_2017-11-25)

    The code:

    Code:
    maxItem = (FloatItem) form.getItem("TEST_Max");
            maxItem.setValidateOnChange(true);
            addHandler(maxItem.addEditorExitHandler(new EditorExitHandler() {
    
                @Override
                public void onEditorExit(EditorExitEvent event)
                {
                    Float floatValue = maxItem.getValueAsFloat();
                }
    
            }));
    Browser Version: Chrome 63.0.3239.84

    #2
    This is assigned to be looked at - we'll update here when we have more information.

    Comment


      #3
      This issue has been addressed in builds dated January 3.

      Comment

      Working...
      X