BelongsToMany Relationship Cast Problem on Edit Record

Hi, this is my first time asking the question on this forum. So i hope i will able to provide all the details that are required.

Let me first explain what issue i am having. I have a relationship-manager UsersRelationManager for ProjectResource
The data displayed on table for Special CPI is properly casted using MoneyCast. (Storing 650 in database and displaying $6.50 on table)
But when i click on edit record Special CPI value is 650 instead of 6.50.




The Cast is working properly on the ProjectResource everywhere. Only giving error on relationship.

I hope i am able to explain it properly, let me know if you need more details.
And thank you in advance πŸ™‚

Attached the 2nd image (for edit Record) in next post.
Screenshot_from_2023-12-16_00-51-35.png
Was this page helpful?