Announcement

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

    Backspace not working properly when apply keyPressFilter

    Hi,
    When apply keyPressFilter in a textitem which has defaultValue, pressing back space key won't work when there is one last character left. The code below modified from http://www.smartclient.com/#formFilters to illustrate the problem.

    Code:
    isc.DynamicForm.create({
        fields: [
            {name: "name",
             title: "Name",
             type: "text",
             hint: "Mapped to uppercase",
             width: 200,
             characterCasing: "upper"
            },
            {name: "commission",
             title: "Commission",
             type: "text",
            defaultValue: 800,
             hint: "Numeric only [0-9.]",
             width: 100,
             keyPressFilter: "[0-9.]"
            }
        ]
    });

    #2
    You didn't indicate your version, but this issue is no longer reproducible in recent builds of 5.0/10.0 or 5.1/10.1 - please retest with a recent build of your version.

    Comment

    Working...
    X