We are migrating from bs3 to bs5. After a day of research and tries, finally I've got an working solution.
This answer helped me to implement x-editable with bs5: https://github.com/wenzhixin/bootstrap-table/issues/6034#issuecomment-1189563176.
So, process is, as follows: