SmartClient Version: SNAPSHOT_v13.1d_2024-11-06/AllModules Development Only (built 2024-11-06)
Hello, in my application I'm trying to use a SimpleType (which has editorType="TextItem") in a form with a field of type textArea, but I noticed that it uses the editorType defined in the SimpleType instead of textArea.
I just want to check with you if it's expected and so if I've got to define a specific SimpleType for textArea.
test case:
Hello, in my application I'm trying to use a SimpleType (which has editorType="TextItem") in a form with a field of type textArea, but I noticed that it uses the editorType defined in the SimpleType instead of textArea.
I just want to check with you if it's expected and so if I've got to define a specific SimpleType for textArea.
test case:
Code:
isc.SimpleType.create({
name: "myText",
inheritsFrom: "text", editorType: "TextItem"
});
isc.DataSource.create({
ID: "myDS",
fields: [{name: "aName", type: "myText"}]
})
isc.DynamicForm.create({
ID: "form0",
dataSource: "myDS",
fields: [
{name: "aName", type: "textArea", title: "foo"}
]
})
Comment