Announcement

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

    [13.0p] DateItem sets a date automatically without set value

    Hi there
    we are currently upgrading to smartclient 13.

    We have noticed, that there seems to be a change in the enforceDate functionality.
    Showing a disabled form which gets enabled later we have understand enforceDate that there are only valid dates or null.
    In the lates nightly of 13.0 the field gets automatically filled without any interaction,while in smartclient 12 the null value did get shown.
    This is a blocker because the default behaviour was changed.

    SmartClient_v130p_2023-02-17_Pro

    isomorphic-v12.1p_2023-02-07 Pro


    Code:
    isc.DynamicForm.create({
        "ID": "testForm",
        "width": "100%",
        "height": "100%",
        "disabled": true,
        "autoFocus": false,
        "selectOnFocus": true,
        "readOnlyDisplay": "static",
        "fields": [{
                "ID": "beginDateItem",
                "name": "beginDateItem",
                "title": "begin date",
                "type": "date",
                "textAlign": "left",
                "readOnlyDisplay": "static",
                "useTextField": true,
                "enforceDate": true
            }
        ],
        "values": {
        }
    })
    Best regards

    #2
    Thanks for the report - we're taking a look and will update here shortly when we have more information.

    Comment


      #3
      We've addressed this regression and you can try out the fix in today's builds, dated February 23 and later.

      Comment


        #4
        Thanks, I can confirm the fix in the build from February 27.

        Comment

        Working...
        X