Yes, it's on purpose. It's necessary for the code in line 224:
$submittedElements = array_filter($submittedElements, fn (array $element) => $element['#type'] !== 'cmrf_display');
array_keys()
is called in the return
line.
dnt → created an issue.
This is still an issue and I created MR !30 to fix this.
As we need this for a project we would appreciate some feedback. Thanks.
@jaapjansma, can you give feedback on the MR? Thanks.
This is an issue again. I've attached a patch that fixes the problem for my use case. If you think that is the correct solution, I can make a MR.
dnt → created an issue.
I could do the required changes. Though I think it would be best, if I could consider the approach you prefer. Do you have any suggestion?
I've closed this issue and created a new one related to the loading of values for cmrf_display
fields #3455921.
dnt → created an issue.
Yes, your change fixes this issue. Thanks. However, now there are no values set for cmrf_display fields.
dnt → created an issue.
dnt → created an issue.
dnt → created an issue.