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.
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.]"
}
]
});