Question on behalf of @jeanpierre-golden-knoll:
I’m trying to set my data to the dirty state, but the data editor file already exists. Is it possible to push or dispatch an action in a data editor ? And if it is possible, how can it be done?
Question on behalf of @jeanpierre-golden-knoll:
I’m trying to set my data to the dirty state, but the data editor file already exists. Is it possible to push or dispatch an action in a data editor ? And if it is possible, how can it be done?
Answer on behalf of Martin Backschat:
At the moment data editors do not set dirty to datasource activity. So for now you should rewrite the data editor to a data provider, then you can set dirty of data holder in the datasource activity.
References:
bap/src/core/application/internal/adapter/createDataProviderForDataEditors.ts
bap/src/core/activity/internal/reducers/handler/setData.ts