• David Tsai
    January 30, 2018 at 11:54 am #4954

    Hi-

    I’m noticing that in my coaches, anything that is Integer control, if the user doesn’t enter anything, its defaulting the field to 0.  Is this a bug or intended behavior? I’m trying to check if the field is null to see if the user entered something or not, and the business doesn’t want it to default to 0 if nothing was entered, but instead throw a validation error (validations done via inline javascript)

     

    Thanks

    Dave

    SPARK Support
    February 1, 2018 at 1:48 pm #4956

    Hi David,

    It appears that this is new behavior with BPM UI.   If the control is bound to an Integer variable, the value will be defaulted to 0 whether I set a default or not.  Notice in the first screen shot, the unbound control defaults to a null value.  However, I can override this behavior by implicitly calling setData(null) on the Bound control.

    Regards,

    Stephen P.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Start typing and press Enter to search