You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem as follows. I am using a PropertyItem list to create items on the form.
const topics = this.questions[key];
let check: PropertyItem[] = [];
check = topics.Entries.map(q => {
var obj: PropertyItem = {
name: q.Code,
title: q.Desc,
category: topics.Metadata.Desc,
};
switch (q.Type) {
case "BooleanEditor":
obj.editorType = "BooleanEditor";
break;
case "StringEditor":
obj.editorType = "StringEditor";
break;
case "YourCustomEditor":
obj.editorType = "YourCustomEditor";
break;
}
});
For BooleanEditor and StringEditor, I can generate the form, but with YourCustomEditor, we cannot generate the item although I have tried the following as well
obj.editorType = typeof YourCustomEditor;
this is my YourCustomEditor , it is very basic
@Decorators.registerEditor("DynaChem.Default.YourCustomEditor")
export class YourCustomEditor extends StringEditor {
// Your custom editor code...
constructor(input: JQuery) {
super(input);
}
}
Very general error codes such as no import, even though I did, or an error code in system.ts
For me this is really serious problem, please help me solve it. Pass in a custom controls on PropertyItem
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a problem as follows. I am using a PropertyItem list to create items on the form.
For BooleanEditor and StringEditor, I can generate the form, but with YourCustomEditor, we cannot generate the item although I have tried the following as well
this is my YourCustomEditor , it is very basic
Very general error codes such as no import, even though I did, or an error code in system.ts
For me this is really serious problem, please help me solve it. Pass in a custom controls on PropertyItem
Beta Was this translation helpful? Give feedback.
All reactions