Followed this link to customize list forms: https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/list-form-configuration#configure-custom-body-with-one-or-more-sections
I applied conditional formula =if([$Assignedto.email]==[$CurrentUser.email], 'true', 'false')
to column Assigned to but it does not work
My original requirement was to hide the section entirely. Is it possible through modern UI json formatting for List forms?
Edit: I tried =if([$Assignedto.email]==@me, 'true', 'false')
It still did not work. Only hides the column completely regardless of condition is true/false