I have the problem, that my preselected inputs disappear, after I choose another start date or end date. But if I select all the fields manually, they do not disappear, when I select a date. Also the nameField gets reset to the default value "New Event" ("Neuer Ereignis" in German).
I've recorded a video about this.
The fields "Anker" and "Rolle" get preselected by a listener (beforeTaskEditShow), that splits the resourceId into "Anker" and "Rolle" and writes the values into the two fields.
How can I disable this behavior, after selecting a date?
It is very difficult to create a small test case, that is runnable.
Which code fragments do you need to take a closer look? Ive added the taskEditConfig and the listener I use to prefill the taskEdit fields.
When I select a startDate, every listener of the other fields gets called. But the value is null and the oldValue is the value, that should be the fields value. I tried to fix this in roleField. When the listener gets called and it is no userAction, then the value (null) gets overwritten by oldValue (for example 'project_manager'):
It is very difficult to create a small test case, that is runnable.
Which code fragments do you need to take a closer look? Ive added the taskEditConfig and the listener I use to prefill the taskEdit fields.
We can't confirm a bug, as well as fix it if we can't reproduce it. Actually, we need the code that allow us to reproduce the problem - all relevant code. Try to comment one by one all custom behaviour and find a fragment that make it working incorrect. Set debugger into it and see what's happened. Try to apply minimal changes to one of our demos to make this problem reproducible. I don't see how the code you shared might initiate such problem, I am afraid, we need more context.