Multi-row bulk editing is not retaining the original values for untouched 'multi value' fields
Multi-row bulk editing is not retaining the original values for untouched 'multi value' fields
For some reason Multi-row bulk editing is not retaining the original values for 'multi value' fields. When I select multiple rows the edit form shows a couple of fields as having "Multiple values". If I change one of the fields and submit that field value is applied to all selected records and the other 'Multiple values' fields are set to '0' (zero). I am not sure where to start looking for logs or the reason why the untouched fields are updating any values. Any help would be appreciated.
This discussion has been closed.
Answers
Can I just confirm, are you seeing the same behaviour with this example here? I tried it, and I believe it's working as expected.
If so, could you post your Editor config code, please, both client-side and the server-side scripts.
Colin
Thank you. The sample works.
I believe this is the editor code. I noticed a difference between the sample code and my code is:
SAMPLE CODE:
SAMPLE CODE HAS:
select: true,MY CODE:
MY EDITOR CODE
Can that script handle the multi-row editing format submitted by Editor? Are you using the Editor PHP libraries to write to the database or your own?
If you could link to a test case showing the issue, that would be really useful.
Allan
Thank you for the answer, I disabled the multi-edit for now. I will do further investigations later as it seems I am using a custom code, other tables that seem to use the Editor PHP libraries are working.