Hi,
I've found some issues with the SimpleTaskEditFeature config in your "React Basic Example", none of these are reproducible in your JS examples so I guess the issues is in the wrapper.
Issue 1 & 2:
Add the following in the AppConfig.ts file inside the config:
simpleTaskEditFeature: {
disabled: false
}
After enabling the feature the following issue occurs:
- Click + to create new item in DOING or DONE column
- Press enter to create task with default name
First issue: Task addNewTaskAtEnd does not happen the created task is simply selected. - Press enter AGAIN
Second issue: Multiple new tasks are added! And also often some of the new items are added in the 1st column (TODO)
(screenshots attached for these 3 steps)
Issue 3:
Disable addNewAtEnd:
simpleTaskEditFeature: {
disabled: false,
addNewAtEnd: false
}
This config option is ignored and issues above still happen.
UPDATE: Issue 4?
Enabling keyMap changes also seem to be ignored, at first I thought this fixed my issue but with further testing the keyMap changes do strange things. And not what is expected.
simpleTaskEditFeature: {
disabled: false,
keyMap: {
Enter: 'complete',
'Ctrl+Enter': 'editNext'
}
}
I've tried a few variations on those keyMaps but I'm not sure I'm doing it right.
Cheers,
Martin